diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 169a7157..0cf42ba3 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -814,8 +814,8 @@ public class MobAI { } } } - } else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnDelay * 1000))) { - aiAgent.respawnTime = aiAgent.deathTime + (aiAgent.spawnDelay * 1000); + } else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnDelay * 1000L))) { + aiAgent.respawnTime = aiAgent.deathTime + (aiAgent.spawnDelay * 1000L); Respawner.respawnQueue.put(aiAgent); } } catch (Exception e) {