mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Fixed block rotations
This commit is contained in:
1 parent
3185f1bf22
commit
09ba6fd8b4
1 file changed
+6
@@ -61,6 +61,9 @@ public class CTMRenderingHandler implements ISimpleBlockRenderingHandler
|
||||
{
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
|
||||
int prevRotateTop = rendererOld.uvRotateTop;
|
||||
int prevRotateBottom = rendererOld.uvRotateBottom;
|
||||
|
||||
if(tile instanceof TileEntityBasicBlock)
|
||||
{
|
||||
if(((TileEntityBasicBlock)tile).facing >= 2)
|
||||
@@ -73,6 +76,9 @@ public class CTMRenderingHandler implements ISimpleBlockRenderingHandler
|
||||
rendererOld.renderStandardBlock(block, x, y, z);
|
||||
rendererOld.setRenderBoundsFromBlock(block);
|
||||
|
||||
rendererOld.uvRotateTop = prevRotateTop;
|
||||
rendererOld.uvRotateBottom = prevRotateBottom;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user