From ca556f78464797422637c011850eb4d9281c672a Mon Sep 17 00:00:00 2001 From: xGamingDudex Date: Sun, 15 May 2016 23:29:58 +0200 Subject: [PATCH] Fixed win room would not sort player properly for solo games --- .../src/nautilus/game/arcade/game/Game.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java index f63232a05..ba7915672 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java @@ -1237,12 +1237,12 @@ public abstract class Game implements Listener if(places != null && !places.isEmpty()) { List teamList = new ArrayList<>(); - List otherList = new ArrayList<>(); - otherList.addAll(UtilServer.getPlayersCollection()); + List nonTeamList = new ArrayList<>(); + nonTeamList.addAll(places); Player player = places.get(0); - otherList.remove(player); + nonTeamList.remove(player); - WinEffectManager.prePlay(this, player, teamList, otherList); + WinEffectManager.prePlay(this, player, teamList, nonTeamList); Location loc = GetSpectatorLocation().clone().add(1000, 0, 1000); loc.setY(200);