diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/blocks/BlockRift.java b/src/main/java/StevenDimDoors/mod_pocketDim/blocks/BlockRift.java index 03b74984..626bd7d5 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/blocks/BlockRift.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/blocks/BlockRift.java @@ -348,12 +348,8 @@ public class BlockRift extends Block implements ITileEntityProvider // may have low hardness to make them easier to build with. However, block.getExplosionResistance() // is designed to receive an entity, the source of the blast. We have no entity so // I've set this to access blockResistance directly. Might need changing later. - - //notabadminer: block.getExplosionResistance() doesn't do anything with the entity passed to it - //so passing null is fine. Just do it. Also, it returns resistance/5 so we should *5 to get - //back to the resistance value. - - return (block.getExplosionResistance(null) * 5 >= MIN_IMMUNE_RESISTANCE || + + return (block.blockResistance >= MIN_IMMUNE_RESISTANCE || modBlocksImmuneToRift.contains(block) || blocksImmuneToRift.contains(block)); }