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) { private BlockFace getFace(Axis axis) {
synchronized (axis) return switch (axis) {
{ case X -> BlockFace.EAST;
switch (axis) case Y -> BlockFace.UP;
{ case Z -> BlockFace.SOUTH;
case X: };
return BlockFace.EAST;
case Y:
return BlockFace.UP;
case Z:
return BlockFace.SOUTH;
}
}
return BlockFace.UP;
} }
public IrisPosition rotate(IrisPosition b) public IrisPosition rotate(IrisPosition b)