Fix dynamic rotations not working
This commit is contained in:
parent
c366b280d8
commit
0f8af6805b
|
@ -45,7 +45,7 @@ public class DynamicRotationListener implements PluginFacet, Listener {
|
||||||
if (!config.getBoolean("dynamic", false) || rotationManager.getRotations().size() <= 1) return;
|
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 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);
|
int playerCount = players.count() + Math.round(event.getMatch().getObservingPlayers().size() / 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue