Browse Source

Long cast needed

combat-2
MagicBot 1 year ago
parent
commit
de832ff497
  1. 4
      src/engine/mobileAI/MobAI.java

4
src/engine/mobileAI/MobAI.java

@ -814,8 +814,8 @@ public class MobAI { @@ -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) {

Loading…
Cancel
Save