mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Oredictionificator GUI fixes
This commit is contained in:
1 parent
12c2c6099f
commit
d6bce421f4
2 files changed
+8
-5
No files matched your search
@@ -24,6 +24,7 @@ public class PlasticRenderingHandler implements ISimpleBlockRenderingHandler
|
||||
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
|
||||
{
|
||||
boolean flag = false;
|
||||
|
||||
if(block == MekanismBlocks.GlowPlasticBlock)
|
||||
{
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
@@ -73,8 +74,10 @@ public class PlasticRenderingHandler implements ISimpleBlockRenderingHandler
|
||||
|
||||
return flag;
|
||||
}
|
||||
|
||||
flag = renderer.renderStandardBlock(block, x, y, z);
|
||||
renderer.setRenderBoundsFromBlock(block);
|
||||
|
||||
return flag;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user