From caf32dae02c9e0dfb38b0e74045429d4003f6c23 Mon Sep 17 00:00:00 2001 From: tastybento Date: Mon, 20 Jan 2025 20:23:59 -0800 Subject: [PATCH] Remove debug. --- .../java/world/bentobox/bentobox/managers/IslandsManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java index b3a73b09f..47950b01c 100644 --- a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java +++ b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java @@ -201,12 +201,10 @@ public boolean checkIfSafe(@Nullable World world, @NonNull Material ground, @Non // Ground must be solid, space 1 and 2 must not be solid if (world == null || !ground.isSolid() || (space1.isSolid() && !Tag.SIGNS.isTagged(space1)) || (space2.isSolid() && !Tag.SIGNS.isTagged(space2))) { - BentoBox.getInstance().logDebug("Ground must be solid, space 1 and 2 must not be solid"); return false; } // Cannot be submerged or water cannot be dangerous if ((space1.equals(Material.WATER) || space2.equals(Material.WATER)) && plugin.getIWM().isWaterNotSafe(world)) { - BentoBox.getInstance().logDebug("water not safe"); return false; } // Unsafe @@ -218,7 +216,6 @@ public boolean checkIfSafe(@Nullable World world, @NonNull Material ground, @Non || Tag.CAMPFIRES.isTagged(ground) || Tag.FIRE.isTagged(ground) || Tag.FIRE.isTagged(space1) || space1.equals(Material.END_PORTAL) || space2.equals(Material.END_PORTAL) || space1.equals(Material.END_GATEWAY) || space2.equals(Material.END_GATEWAY)) { - BentoBox.getInstance().logDebug("Unsafe"); return false; } // Known unsafe blocks