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) {
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user