mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix rotation cmods (bukkit logic is causing issues in switches)
This commit is contained in:
parent
bc87fdde1f
commit
547bfe26d7
@ -364,14 +364,17 @@ public class IrisObjectRotation
|
|||||||
}
|
}
|
||||||
|
|
||||||
private BlockFace getFace(Axis axis) {
|
private BlockFace getFace(Axis axis) {
|
||||||
switch (axis)
|
synchronized (axis)
|
||||||
{
|
{
|
||||||
case X:
|
switch (axis)
|
||||||
return BlockFace.EAST;
|
{
|
||||||
case Y:
|
case X:
|
||||||
return BlockFace.UP;
|
return BlockFace.EAST;
|
||||||
case Z:
|
case Y:
|
||||||
return BlockFace.SOUTH;
|
return BlockFace.UP;
|
||||||
|
case Z:
|
||||||
|
return BlockFace.SOUTH;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return BlockFace.UP;
|
return BlockFace.UP;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user