This commit is contained in:
Daniel Mills 2021-07-04 22:22:42 -04:00
parent 885780a92b
commit af76d937e1

View File

@ -364,20 +364,11 @@ public class IrisObjectRotation
}
private BlockFace getFace(Axis axis) {
synchronized (axis)
{
switch (axis)
{
case X:
return BlockFace.EAST;
case Y:
return BlockFace.UP;
case Z:
return BlockFace.SOUTH;
}
}
return BlockFace.UP;
return switch (axis) {
case X -> BlockFace.EAST;
case Y -> BlockFace.UP;
case Z -> BlockFace.SOUTH;
};
}
public IrisPosition rotate(IrisPosition b)