From 0f8af6805be36c44af0023f4c33e739667beca43 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Sat, 9 Dec 2017 10:15:43 -0800 Subject: [PATCH] Fix dynamic rotations not working --- .../main/java/tc/oc/pgm/rotation/DynamicRotationListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PGM/src/main/java/tc/oc/pgm/rotation/DynamicRotationListener.java b/PGM/src/main/java/tc/oc/pgm/rotation/DynamicRotationListener.java index e16df85..0de0532 100644 --- a/PGM/src/main/java/tc/oc/pgm/rotation/DynamicRotationListener.java +++ b/PGM/src/main/java/tc/oc/pgm/rotation/DynamicRotationListener.java @@ -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);