Fix dynamic rotations not working

This commit is contained in:
Ashcon Partovi 2017-12-09 10:15:43 -08:00 committed by GitHub
parent c366b280d8
commit 0f8af6805b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class DynamicRotationListener implements PluginFacet, Listener {
if (!config.getBoolean("dynamic", false) || rotationManager.getRotations().size() <= 1) return;
// If a mutation was set for the next map, don't change it yet.
if (mutationQueue.isEmpty()) return;
if (!mutationQueue.isEmpty()) return;
int playerCount = players.count() + Math.round(event.getMatch().getObservingPlayers().size() / 2);