mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Or not
This commit is contained in:
parent
885780a92b
commit
af76d937e1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user