Remove Core.getVersion calls

This commit is contained in:
2026-05-16 14:02:57 +02:00
parent ab3970981d
commit ce1f947f4b
45 changed files with 123 additions and 378 deletions
@@ -135,7 +135,6 @@ public class FreezeListener implements Listener {
@EventHandler(priority = EventPriority.MONITOR)
public void onBlockBreak(BlockBreakEvent e) {
if (Core.getVersion() < 19) return;
if (e.getPlayer().getInventory().getItemInMainHand().getType() == Material.DEBUG_STICK) return;
if (freeze) {
if (e.isCancelled()) return;