Fix MC-112730 TE global renderer duplicate render (#3651)

* Fix TE global renderer duplicate render
This commit is contained in:
Paul Fulham 2017-02-26 00:21:30 -08:00 committed by Fry
parent 724ffe1d70
commit 45e0738f43

View file

@ -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
}
}
}