Fixed spawn-monsters=false bug

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

No files matched your search

+7 -7
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();