Fix MC-112730 TE global renderer duplicate render (#3651)
* Fix TE global renderer duplicate render
This commit is contained in:
parent
724ffe1d70
commit
45e0738f43
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue