Hotfix NPE
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
210a0283b8
Commit
f721cfaed6
@ -196,9 +196,12 @@ public class TablistManager extends BasicListener {
|
||||
}
|
||||
|
||||
private String getTablistName(ProxiedPlayer p, boolean sameServer) {
|
||||
String tablistName = Subserver.getSubserver(p).getTablistNames().get(p);
|
||||
if(tablistName != null)
|
||||
return tablistName;
|
||||
Subserver server = Subserver.getSubserver(p);
|
||||
if(server != null){
|
||||
String tablistName = server.getTablistNames().get(p);
|
||||
if(tablistName != null)
|
||||
return tablistName;
|
||||
}
|
||||
|
||||
StringBuilder st = new StringBuilder();
|
||||
if (p.hasPermission("bungeecore.group.admin")) st.append("§4");
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren