Skip to content

Commit 5423471

Browse files
ZakShearmanmworzala
authored andcommitted
fix block rotation using facing=down and facing=up
1 parent aa5fc9f commit 5423471

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/hollowcube/schem/CoordinateUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ private static String rotate90(String in) {
115115
case "north" -> "east";
116116
case "east" -> "south";
117117
case "south" -> "west";
118-
default -> "north";
118+
case "west" -> "north";
119+
default -> in;
119120
};
120121
}
121122

0 commit comments

Comments
 (0)