Archiviert
1
0
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-10-30 07:33:50 +01:00
Ursprung 210a0283b8
Commit f721cfaed6

Datei anzeigen

@ -196,9 +196,12 @@ public class TablistManager extends BasicListener {
} }
private String getTablistName(ProxiedPlayer p, boolean sameServer) { private String getTablistName(ProxiedPlayer p, boolean sameServer) {
String tablistName = Subserver.getSubserver(p).getTablistNames().get(p); Subserver server = Subserver.getSubserver(p);
if(tablistName != null) if(server != null){
return tablistName; String tablistName = server.getTablistNames().get(p);
if(tablistName != null)
return tablistName;
}
StringBuilder st = new StringBuilder(); StringBuilder st = new StringBuilder();
if (p.hasPermission("bungeecore.group.admin")) st.append("§4"); if (p.hasPermission("bungeecore.group.admin")) st.append("§4");