From 04fc1c6c59ab83a176c0d0a61850afd4cf00133c Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 14 Aug 2012 21:59:47 -0400 Subject: [PATCH] Fix renderer's not getting the rendermanager set on them at registration time --- fml/client/cpw/mods/fml/client/registry/RenderingRegistry.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fml/client/cpw/mods/fml/client/registry/RenderingRegistry.java b/fml/client/cpw/mods/fml/client/registry/RenderingRegistry.java index f9be50390..c84f26f28 100644 --- a/fml/client/cpw/mods/fml/client/registry/RenderingRegistry.java +++ b/fml/client/cpw/mods/fml/client/registry/RenderingRegistry.java @@ -13,7 +13,9 @@ import net.minecraft.src.Entity; import net.minecraft.src.IBlockAccess; import net.minecraft.src.Render; import net.minecraft.src.RenderBlocks; +import net.minecraft.src.RenderManager; import net.minecraft.src.RenderPlayer; +import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.client.SpriteHelper; import cpw.mods.fml.client.TextureFXManager; import cpw.mods.fml.client.modloader.ModLoaderBlockRendererHandler; @@ -187,6 +189,7 @@ public class RenderingRegistry for (EntityRendererInfo info : entityRenderers) { rendererMap.put(info.target, info.renderer); + info.renderer.func_76976_a(RenderManager.field_78727_a); } } }