9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 03:59:06 +00:00

More fixes

- Fixed Jigsaws not placing TileStates
- Fixed NPE when banners, signs or skulls try to be rotated to be up or down
This commit is contained in:
StrangeOne101
2021-06-19 22:49:32 +12:00
committed by DanLT
parent b6bc269505
commit 9644693de3
2 changed files with 8 additions and 3 deletions

View File

@@ -245,7 +245,9 @@ public class IrisObjectRotation
BlockVector bv = new BlockVector(f.getModX(), f.getModY(), f.getModZ());
bv = rotate(bv.clone(), spinx, spiny, spinz);
BlockFace t = getFace(bv);
g.setRotation(t);
if (t.getModY() == 0) {
g.setRotation(t);
}
}
else if(d instanceof Orientable)