From dad615db2b5e7553390ed6344cebdf5f16ee34a0 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) {