Closed Cojomax99 closed 9 years ago
https://github.com/skyboy/MineFactoryReloaded/blob/master/src/powercrystals/minefactoryreloaded/render/block/BlockTankRenderer.java#L180 is part of the crash also, because 218 calls that line to get the icon to render: https://github.com/skyboy/MineFactoryReloaded/blob/master/src/powercrystals/minefactoryreloaded/render/block/BlockTankRenderer.java#L218
https://github.com/skyboy/MineFactoryReloaded/blob/master/src/powercrystals/minefactoryreloaded/render/block/BlockTankRenderer.java#L73
If the Fluid is not null, but the stillIcon/flowingIcon values have not been set (and are thus null), then it will throw a NullPointerException like this one: http://paste.ubuntu.com/10822515/
An additional null check after getIcon is called should fix it.