mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
#292 NPE by removing facade-mod
This commit is contained in:
1 parent
f49e3298fe
commit
fd8bfcdb90
1 file changed
+1
-1
@@ -78,7 +78,7 @@ public class BlockConduitBundle extends Block implements ITileEntityProvider, IC
|
||||
TileConduitBundle cb = (TileConduitBundle)
|
||||
world.getBlockTileEntity(target.blockX, target.blockY, target.blockZ);
|
||||
if(ConduitUtil.isSolidFacadeRendered(cb, Minecraft.getMinecraft().thePlayer)) {
|
||||
if(cb.getFacadeId() > 0) {
|
||||
if(cb.getFacadeId() > 0 && Block.blocksList[cb.getFacadeId()] != null) {
|
||||
tex = Block.blocksList[cb.getFacadeId()].getIcon(target.sideHit,
|
||||
cb.getFacadeMetadata());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user