From ef6e930a88ada008ea9de0ea679d434650b1f9cb Mon Sep 17 00:00:00 2001 From: TheRealWormbo Date: Sun, 29 Oct 2023 12:17:59 +0100 Subject: [PATCH] Fixed Mana Enchanter formation and validation assuming opposite rotations --- .../common/block/block_entity/ManaEnchanterBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xplat/src/main/java/vazkii/botania/common/block/block_entity/ManaEnchanterBlockEntity.java b/Xplat/src/main/java/vazkii/botania/common/block/block_entity/ManaEnchanterBlockEntity.java index 4d79153c73..d2ca4bc68a 100644 --- a/Xplat/src/main/java/vazkii/botania/common/block/block_entity/ManaEnchanterBlockEntity.java +++ b/Xplat/src/main/java/vazkii/botania/common/block/block_entity/ManaEnchanterBlockEntity.java @@ -475,8 +475,8 @@ public static Direction.Axis canEnchanterExist(Level world, BlockPos pos) { private static Rotation getAxisRotation(Direction.Axis axis) { return switch (axis) { - case X -> Rotation.NONE; - case Z -> Rotation.CLOCKWISE_90; + case Z -> Rotation.NONE; + case X -> Rotation.CLOCKWISE_90; default -> throw new IllegalStateException("Enchanter should only ever be facing in X or Z direction"); }; }