Merge pull request 'Fixed meterstock' (#54) from BauSystem/fix-meterstock into main

Reviewed-on: SteamWar/SteamWar#54
Reviewed-by: YoyoNow <yoyonow@noreply.localhost>
This commit is contained in:
2025-04-26 13:37:33 +02:00
@@ -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;