From 5423471b4b4cfe5ff024aeb4f13a0a67e3d2778b Mon Sep 17 00:00:00 2001 From: Zak Shearman <34372536+ZakShearman@users.noreply.github.com> Date: Sat, 6 Jan 2024 18:38:59 +0000 Subject: [PATCH] fix block rotation using facing=down and facing=up --- src/main/java/net/hollowcube/schem/CoordinateUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/hollowcube/schem/CoordinateUtil.java b/src/main/java/net/hollowcube/schem/CoordinateUtil.java index 5050db4..cdf6df8 100644 --- a/src/main/java/net/hollowcube/schem/CoordinateUtil.java +++ b/src/main/java/net/hollowcube/schem/CoordinateUtil.java @@ -115,7 +115,8 @@ private static String rotate90(String in) { case "north" -> "east"; case "east" -> "south"; case "south" -> "west"; - default -> "north"; + case "west" -> "north"; + default -> in; }; }