Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Jun 1, 2024
1 parent 878ba49 commit fc4d671
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void onBlockUpdate(BlockPhysicsEvent event) {
Block block = event.getBlock();

// Listen for collapsing sensitive slimefun blocks
if (BlockStorage.hasBlockInfo(block) && !Slimefun.getTickerTask().isDeletedSoon(block.getLocation()) && !block.getBlockData().isSupported(event.getBlock())) {
if (BlockStorage.hasBlockInfo(block) && !Slimefun.getTickerTask().isDeletedSoon(block.getLocation()) && !block.getBlockData().isSupported(block)) {
SlimefunItem sfItem = BlockStorage.check(block);

if (sfItem != null && !sfItem.useVanillaBlockBreaking()) {
Expand Down

0 comments on commit fc4d671

Please sign in to comment.