Skip to content

Commit fd4d693

Browse files
committed
Remove no-op onBlockExploded override in ProtectedWallBlock
1 parent ca7a6da commit fd4d693

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/dev/compactmods/machines/wall/ProtectedWallBlock.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import net.minecraft.world.entity.player.Player;
66
import net.minecraft.world.level.BlockGetter;
77
import net.minecraft.world.level.Explosion;
8-
import net.minecraft.world.level.Level;
98
import net.minecraft.world.level.block.Block;
109
import net.minecraft.world.level.block.state.BlockState;
1110

@@ -14,11 +13,6 @@ protected ProtectedWallBlock(Properties properties) {
1413
super(properties);
1514
}
1615

17-
@Override
18-
public void onBlockExploded(BlockState state, Level world, BlockPos pos, Explosion explosion) {
19-
// NO-Op, do not destroy on explosions
20-
}
21-
2216
@Override
2317
public boolean canHarvestBlock(BlockState state, BlockGetter world, BlockPos pos, Player player) {
2418
return false;

0 commit comments

Comments
 (0)