diff --git a/pom.xml b/pom.xml
index 7d690e6..54b2f3f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
com.songoda
EpicSpawners
4.0.0
- 7.2.0
+ 7.2.1
clean install
EpicSpawners-${project.version}
@@ -103,35 +103,42 @@
1.18-R0.1-SNAPSHOT
provided
+
com.songoda
SongodaCore
2.6.10
+ compile
+
com.songoda
UltimateStacker
LATEST
provided
+
com.songoda
EpicAnchors
2.0.0-ALPHA
provided
+
me.clip
placeholderapi
2.9.2
provided
+
com.github.brcdev-minecraft
shopgui-api
1.0.0
provided
+
com.songoda
Lootables
diff --git a/src/main/java/com/songoda/epicspawners/tasks/SpawnerSpawnTask.java b/src/main/java/com/songoda/epicspawners/tasks/SpawnerSpawnTask.java
index a81e9eb..ab77d9c 100644
--- a/src/main/java/com/songoda/epicspawners/tasks/SpawnerSpawnTask.java
+++ b/src/main/java/com/songoda/epicspawners/tasks/SpawnerSpawnTask.java
@@ -36,30 +36,30 @@ public class SpawnerSpawnTask extends BukkitRunnable {
try {
if (spawner.getWorld() == null
|| plugin.getBlacklistHandler().isBlacklisted(spawner.getWorld())
- || !spawner.getWorld().isChunkLoaded(spawner.getX() >> 4, spawner.getZ() >> 4)) return;
+ || !spawner.getWorld().isChunkLoaded(spawner.getX() >> 4, spawner.getZ() >> 4)) continue;
if (spawner.getLocation().getBlock().getType() != CompatibleMaterial.SPAWNER.getMaterial()
|| !spawner.isValid()) {
spawner.destroy(plugin);
- return;
+ continue;
}
if (spawner.getStackSize() == 0
|| (spawner.getPlacedBy() == null && Settings.DISABLE_NATURAL_SPAWNERS.getBoolean())
- || !spawner.checkConditions()) return;
+ || !spawner.checkConditions()) continue;
CreatureSpawner cSpawner = spawner.getCreatureSpawner();
- if (cSpawner == null) return;
+ if (cSpawner == null) continue;
int delay = spawner.getCreatureSpawner().getDelay();
delay = delay - Settings.CUSTOM_SPAWNER_TICK_RATE.getInt();
spawner.getCreatureSpawner().setDelay(delay);
- if (delay >= 0) return;
+ if (delay >= 0) continue;
if (!spawner.spawn()) {
spawner.updateDelay();
}
- } catch (Exception e) {
- e.printStackTrace();
+ } catch (Exception ex) {
+ ex.printStackTrace();
}
}
}