disc droppers spawn 6 hours apart
This commit is contained in:
@@ -855,9 +855,6 @@ public class MobAI {
|
||||
private static void CheckForRespawn(Mob aiAgent) {
|
||||
|
||||
try {
|
||||
if(Mob.disciplineDroppers.contains(aiAgent) == true){
|
||||
return; // disc dropper respawns handled elsewhere
|
||||
}
|
||||
if (aiAgent.deathTime == 0) {
|
||||
aiAgent.setDeathTime(System.currentTimeMillis());
|
||||
return;
|
||||
@@ -894,7 +891,7 @@ public class MobAI {
|
||||
}
|
||||
} else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnTime * 1000))) {
|
||||
|
||||
if (Zone.respawnQue.contains(aiAgent) == false) {
|
||||
if (Zone.respawnQue.contains(aiAgent) == false && Mob.disciplineDroppers.contains(aiAgent) == false){
|
||||
Zone.respawnQue.add(aiAgent);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user