Facade renderer crashes if it attempts to render missing facade
Opened this issue ยท 2 comments
Create a world, and apply a facade to a pipe, then delete the mod that added that facade and reload the world, the following crash will occur, making the world un-loadable.
Using MC 1.5.2 and BC 3.7.2
java.lang.NullPointerException
at buildcraft.transport.render.PipeWorldRenderer.pipeFacadeRenderer(PipeWorldRenderer.java:191)
at buildcraft.transport.render.PipeWorldRenderer.renderPipe(PipeWorldRenderer.java:166)
at buildcraft.transport.render.PipeWorldRenderer.renderWorldBlock(PipeWorldRenderer.java:528)
at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:153)
at FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:60)
at net.minecraft.client.renderer.RenderBlocks.func_78612_b(RenderBlocks.java:484)
at net.minecraft.client.renderer.WorldRenderer.func_78907_a(WorldRenderer.java:226)
at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:1558)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1119)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:987)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:871)
at net.minecraft.client.Minecraft.run(Minecraft.java:760)
at java.lang.Thread.run(Thread.java:722)
MC 1.5.2 is no longer supported, but I'll see if the problem still exists in the code