mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
Hi.
This commit is contained in:
parent
f4f5ade9e2
commit
bca05c812a
@ -81,7 +81,7 @@ object Cable {
|
||||
}
|
||||
|
||||
private def isCable(world: IBlockAccess, x: Int, y: Int, z: Int) = {
|
||||
val tileEntity = world.getBlockTileEntity(x, y, z)
|
||||
val tileEntity = world.getTileEntity(x, y, z)
|
||||
tileEntity.isInstanceOf[common.tileentity.Cable] || (Mods.ForgeMultipart.isAvailable && isCableFMP(tileEntity))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user