Fixing lobby NPE
Dieser Commit ist enthalten in:
Ursprung
95cb544788
Commit
3786a1170a
@ -158,7 +158,7 @@ public class Subserver implements Runnable, Listener {
|
||||
@EventHandler
|
||||
public void onServerSwitchEvent(ServerConnectedEvent e){
|
||||
ProxiedPlayer player = e.getPlayer();
|
||||
if(player.getServer().getInfo().equals(server))
|
||||
if(player.getServer() == null || player.getServer().getInfo() == null || player.getServer().getInfo().equals(server))
|
||||
return;
|
||||
|
||||
Iterator<ProxiedPlayer> it = cachedPlayers.iterator();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren