Fix Dynamic Rotations

This commit is contained in:
Luigi 2019-03-01 23:03:49 -05:00 committed by GitHub
parent aa46ee6dbc
commit a02be9ad71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class DynamicRotationListener implements PluginFacet, Listener {
// If a mutation was set for the next map, don't change it yet.
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);
// Get appropriate rotation
RotationProviderInfo rotation = rotationManager.getProviders().stream()