geforkt von SteamWar/BungeeCore
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) {
|
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");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren