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,6 +364,8 @@ public class IrisObjectRotation
|
|||||||
}
|
}
|
||||||
|
|
||||||
private BlockFace getFace(Axis axis) {
|
private BlockFace getFace(Axis axis) {
|
||||||
|
synchronized (axis)
|
||||||
|
{
|
||||||
switch (axis)
|
switch (axis)
|
||||||
{
|
{
|
||||||
case X:
|
case X:
|
||||||
@ -373,6 +375,7 @@ public class IrisObjectRotation
|
|||||||
case Z:
|
case Z:
|
||||||
return BlockFace.SOUTH;
|
return BlockFace.SOUTH;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return BlockFace.UP;
|
return BlockFace.UP;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user