Draconic Evolution

Draconic Evolution

77M Downloads

Crash when calling DraconicOre.getIcon() outside of a world.

portablejim opened this issue ยท 1 comments

commented

When rendering DraconicOre outside of a world (i.e. in the configuration screen of mods), "Minecraft.getMinecraft().theWorld.provider.dimensionId" causes a NullPointerException.

See http://pastebin.com/efFKQ6fx (from portablejim/VeinMiner#24)

commented

Added a check to make sure Minecraft.getMinecraft().theWorld != null