Merge branch 'BuildCraft-5.1.x' into NextGen
Conflicts: common/buildcraft/core/utils/BlockUtil.java
This commit is contained in:
commit
30df91675e
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class BlockUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isSoftBlock(Block block, IBlockAccess world, int x, int y, int z) {
|
public static boolean isSoftBlock(Block block, IBlockAccess world, int x, int y, int z) {
|
||||||
return block == null || BuildCraftAPI.softBlocks.contains(block) || block.isAir(world, x, y, z);
|
return block == null || BuildCraftAPI.softBlocks.contains(block) || block.isReplaceable(world, x, y, z) || block.isAir(world, x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isUnbreakableBlock(World world, int x, int y, int z) {
|
public static boolean isUnbreakableBlock(World world, int x, int y, int z) {
|
||||||
|
|
Loading…
Reference in a new issue