mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-22 05:02:32 +00:00
Merge pull request #215 from MrTJP/patch-1
Fix BlockMultipart side solidity check
This commit is contained in:
commit
d22853db64
1 file changed
+4
-1
@@ -78,6 +78,9 @@ class BlockMultipart extends Block(Material.rock)
|
||||
case null => false
|
||||
case tile => tile.isSolid(side)
|
||||
}
|
||||
|
||||
override def isSideSolid(world:IBlockAccess, x:Int, y:Int, z:Int, side:ForgeDirection):Boolean =
|
||||
isBlockSolid(world, x, y, z, side.ordinal())
|
||||
|
||||
override def onNeighborBlockChange(world:World, x:Int, y:Int, z:Int, block:Block) {
|
||||
val tile = getTile(world, x, y, z)
|
||||
@@ -297,4 +300,4 @@ class BlockMultipart extends Block(Material.rock)
|
||||
}
|
||||
|
||||
override def canProvidePower = true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user