9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 11:09:06 +00:00

Fix rotation cmods (bukkit logic is causing issues in switches)

This commit is contained in:
Daniel Mills
2021-07-04 22:15:38 -04:00
parent bc87fdde1f
commit 547bfe26d7

View File

@@ -364,14 +364,17 @@ public class IrisObjectRotation
}
private BlockFace getFace(Axis axis) {
switch (axis)
synchronized (axis)
{
case X:
return BlockFace.EAST;
case Y:
return BlockFace.UP;
case Z:
return BlockFace.SOUTH;
switch (axis)
{
case X:
return BlockFace.EAST;
case Y:
return BlockFace.UP;
case Z:
return BlockFace.SOUTH;
}
}
return BlockFace.UP;