Fixed win room would not sort player properly for solo games
This commit is contained in:
parent
7073ba4e6a
commit
ca556f7846
@ -1237,12 +1237,12 @@ public abstract class Game implements Listener
|
||||
if(places != null && !places.isEmpty())
|
||||
{
|
||||
List<Player> teamList = new ArrayList<>();
|
||||
List<Player> otherList = new ArrayList<>();
|
||||
otherList.addAll(UtilServer.getPlayersCollection());
|
||||
List<Player> 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);
|
||||
|
Loading…
Reference in New Issue
Block a user