Skip to content

Commit caf32da

Browse files
committed
Remove debug.
1 parent 4ff0e8a commit caf32da

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/world/bentobox/bentobox/managers/IslandsManager.java

-3
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,10 @@ public boolean checkIfSafe(@Nullable World world, @NonNull Material ground, @Non
201201
// Ground must be solid, space 1 and 2 must not be solid
202202
if (world == null || !ground.isSolid() || (space1.isSolid() && !Tag.SIGNS.isTagged(space1))
203203
|| (space2.isSolid() && !Tag.SIGNS.isTagged(space2))) {
204-
BentoBox.getInstance().logDebug("Ground must be solid, space 1 and 2 must not be solid");
205204
return false;
206205
}
207206
// Cannot be submerged or water cannot be dangerous
208207
if ((space1.equals(Material.WATER) || space2.equals(Material.WATER)) && plugin.getIWM().isWaterNotSafe(world)) {
209-
BentoBox.getInstance().logDebug("water not safe");
210208
return false;
211209
}
212210
// Unsafe
@@ -218,7 +216,6 @@ public boolean checkIfSafe(@Nullable World world, @NonNull Material ground, @Non
218216
|| Tag.CAMPFIRES.isTagged(ground) || Tag.FIRE.isTagged(ground) || Tag.FIRE.isTagged(space1)
219217
|| space1.equals(Material.END_PORTAL) || space2.equals(Material.END_PORTAL)
220218
|| space1.equals(Material.END_GATEWAY) || space2.equals(Material.END_GATEWAY)) {
221-
BentoBox.getInstance().logDebug("Unsafe");
222219
return false;
223220
}
224221
// Known unsafe blocks

0 commit comments

Comments
 (0)