Fixed spawn-monsters=false bug

This commit is contained in:
Garbage Mule 2011-08-22 20:32:26 +02:00
parent d164e43c05
commit 4d5c23aa97
2 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -178,19 +178,19 @@ public class Arena
p.setHealth(20);
}
// Copy the singleWaves Set for polling.
singleWavesInstance = new TreeSet<Wave>(singleWaves);
// Start spawning monsters (must happen before 'running = true;')
startSpawning();
startBouncingSheep();
// Set the boolean.
running = true;
// Spawn pets (must happen after 'running = true;')
spawnPets();
// Copy the singleWaves Set.
singleWavesInstance = new TreeSet<Wave>(singleWaves);
// Start spawning monsters.
startSpawning();
startBouncingSheep();
// Start logging
log = new ArenaLog(plugin, this);
log.start();