Crystal chest item rotation fix (#268)

This commit is contained in:
Pursuit 2022-01-06 00:46:34 +01:00 committed by GitHub
parent 2dad34dc2e
commit 657263a0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();