Crystal chest item rotation fix

This commit is contained in:
Pursuit 2022-01-05 22:58:27 +01:00
parent 2dad34dc2e
commit e93ed557c3
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class IronChestTileEntityRenderer<T extends TileEntity & IChestLid> exten
Vector3f center = modelItem.getCenter();
matrices.translate(center.getX(), center.getY(), center.getZ());
matrices.rotate(Vector3f.YP.rotation(rotation));
matrices.rotate(Vector3f.YP.rotationDegrees(rotation));
// scale
float scale = modelItem.getSizeScaled();