Long cast needed

This commit is contained in:
2023-10-23 14:00:12 -04:00
parent 1aef82f422
commit de832ff497
+2 -2
View File
@@ -814,8 +814,8 @@ public class MobAI {
} }
} }
} }
} else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnDelay * 1000))) { } else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnDelay * 1000L))) {
aiAgent.respawnTime = aiAgent.deathTime + (aiAgent.spawnDelay * 1000); aiAgent.respawnTime = aiAgent.deathTime + (aiAgent.spawnDelay * 1000L);
Respawner.respawnQueue.put(aiAgent); Respawner.respawnQueue.put(aiAgent);
} }
} catch (Exception e) { } catch (Exception e) {