From 45e0738f439d2b6285466a41b3e3ca34ac43cc37 Mon Sep 17 00:00:00 2001 From: Paul Fulham Date: Sun, 26 Feb 2017 00:21:30 -0800 Subject: [PATCH] Fix MC-112730 TE global renderer duplicate render (#3651) * Fix TE global renderer duplicate render --- .../client/renderer/chunk/RenderChunk.java.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/client/renderer/chunk/RenderChunk.java.patch b/patches/minecraft/net/minecraft/client/renderer/chunk/RenderChunk.java.patch index 897510646..451f8ed9f 100644 --- a/patches/minecraft/net/minecraft/client/renderer/chunk/RenderChunk.java.patch +++ b/patches/minecraft/net/minecraft/client/renderer/chunk/RenderChunk.java.patch @@ -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 + } } }