Fixed crashing bug when MCMultiPart is not installed, fixes #1587
This commit is contained in:
@@ -106,7 +106,7 @@ public class BlockCable extends BlockNode {
|
||||
return false;
|
||||
}
|
||||
|
||||
TileEntity otherTile = RSMCMPAddon.unwrapTile(world, pos.offset(direction));
|
||||
TileEntity otherTile = world.getTileEntity(pos.offset(direction));
|
||||
EnumFacing otherTileSide = direction.getOpposite();
|
||||
|
||||
if (otherTile != null && otherTile.hasCapability(CapabilityNetworkNodeProxy.NETWORK_NODE_PROXY_CAPABILITY, otherTileSide)) {
|
||||
|
||||
Reference in New Issue
Block a user