diff --git a/src/main/java/world/bentobox/bentobox/listeners/flags/settings/MobSpawnListener.java b/src/main/java/world/bentobox/bentobox/listeners/flags/settings/MobSpawnListener.java index 18dcf8607..72a0ea3c5 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/flags/settings/MobSpawnListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/flags/settings/MobSpawnListener.java @@ -33,7 +33,7 @@ public class MobSpawnListener extends FlagListener { return false; } switch (e.getSpawnReason()) { - // Natural + // Natural case DEFAULT: case DROWNED: case JOCKEY: @@ -62,6 +62,7 @@ public class MobSpawnListener extends FlagListener { e.setCancelled(cancel); return cancel; } + return false; default: return false; }