From de832ff49739a9af0e8a05ddec7bf6d88131df1e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 23 Oct 2023 14:00:12 -0400 Subject: [PATCH] Long cast needed --- src/engine/mobileAI/MobAI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {