Skip to content

Commit

Permalink
VeinMiner blockList Removal
Browse files Browse the repository at this point in the history
Remove the copy paste of blast block list being checked for vein miner blocks to see if they are a valid block that can be broken.
  • Loading branch information
TrueDarkLord committed Feb 5, 2024
1 parent 163e296 commit 6f4f444
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void onVeinMinerBreak(BlockBreakEvent event) {
event.setCancelled(true);

for (Block block : blockList) {
if (block.isEmpty() || !crazyManager.getBlastBlockList().contains(block.getType())) continue;
if (block.isEmpty()) continue;
if (methods.playerBreakBlock(player, block, currentItem, crazyManager.isDropBlocksVeinMiner())) continue;
if (damage) methods.removeDurability(currentItem, player);
}
Expand Down

0 comments on commit 6f4f444

Please sign in to comment.