mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-24 22:04:41 +00:00
fix world client leak in CustomCubeRenderer (#34)
This commit is contained in:
1 parent
9b1688bc81
commit
075609240f
1 file changed
+2
@@ -36,6 +36,7 @@ public class CustomCubeRenderer {
|
||||
}
|
||||
rb.setRenderBoundsFromBlock(par1Block);
|
||||
rb.renderStandardBlock(par1Block, par2, par3, par4);
|
||||
rb.blockAccess = null;
|
||||
}
|
||||
|
||||
public void renderBlock(IBlockAccess ba, Block par1Block, int par2, int par3, int par4,
|
||||
@@ -48,6 +49,7 @@ public class CustomCubeRenderer {
|
||||
rb.setFaceRenderers(renderers);
|
||||
rb.setRenderBoundsFromBlock(par1Block);
|
||||
rb.renderStandardBlock(par1Block, par2, par3, par4);
|
||||
rb.blockAccess = null;
|
||||
}
|
||||
|
||||
public IIcon getOverrideTexture() {
|
||||
|
||||
Reference in new issue
Block a user