Fixed meterstock

This commit is contained in:
D4rkr34lm
2025-04-26 13:08:13 +02:00
parent f89c4e88f9
commit 84cc292df4
@@ -226,7 +226,7 @@ public class FreezeListener implements Listener, ScoreboardElement {
}
}
@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onBlockBreak(BlockBreakEvent e) {
if (Core.getVersion() < 19) return;
if (e.getPlayer().getInventory().getItemInMainHand().getType() == Material.DEBUG_STICK) return;