mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix MC-112730 TE global renderer duplicate render (#3651)
* Fix TE global renderer duplicate render
This commit is contained in:
1 parent
724ffe1d70
commit
45e0738f43
1 file changed
+12
-1
@@ -9,7 +9,18 @@
|
||||
{
|
||||
TileEntity tileentity = this.field_189564_r.func_190300_a(blockpos$mutableblockpos, Chunk.EnumCreateEntityType.CHECK);
|
||||
|
||||
@@ -181,7 +181,9 @@
|
||||
@@ -171,17 +171,19 @@
|
||||
|
||||
if (tileentityspecialrenderer != null)
|
||||
{
|
||||
- compiledchunk.func_178490_a(tileentity);
|
||||
|
||||
if (tileentityspecialrenderer.func_188185_a(tileentity))
|
||||
{
|
||||
lvt_10_1_.add(tileentity);
|
||||
}
|
||||
+ else compiledchunk.func_178490_a(tileentity); // FORGE: Fix MC-112730
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user