Fixed spawn-monsters=false bug
This commit is contained in:
Binary file not shown.
@@ -178,19 +178,19 @@ public class Arena
|
|||||||
p.setHealth(20);
|
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.
|
// Set the boolean.
|
||||||
running = true;
|
running = true;
|
||||||
|
|
||||||
// Spawn pets (must happen after 'running = true;')
|
// Spawn pets (must happen after 'running = true;')
|
||||||
spawnPets();
|
spawnPets();
|
||||||
|
|
||||||
// Copy the singleWaves Set.
|
|
||||||
singleWavesInstance = new TreeSet<Wave>(singleWaves);
|
|
||||||
|
|
||||||
// Start spawning monsters.
|
|
||||||
startSpawning();
|
|
||||||
startBouncingSheep();
|
|
||||||
|
|
||||||
// Start logging
|
// Start logging
|
||||||
log = new ArenaLog(plugin, this);
|
log = new ArenaLog(plugin, this);
|
||||||
log.start();
|
log.start();
|
||||||
|
|||||||
Reference in New Issue
Block a user