geforkt von SteamWar/BungeeCore
HotFix Tablistpart
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
e26ee5f389
Commit
a0dd4f5c57
@ -38,7 +38,11 @@ interface TablistPart {
|
|||||||
class Item {
|
class Item {
|
||||||
|
|
||||||
public static Property[] playerProperties(ProxiedPlayer player) {
|
public static Property[] playerProperties(ProxiedPlayer player) {
|
||||||
return ((InitialHandler) player.getPendingConnection()).getLoginProfile().getProperties();
|
InitialHandler handler = (InitialHandler) player.getPendingConnection();
|
||||||
|
if(handler == null)
|
||||||
|
return new Property[0];
|
||||||
|
|
||||||
|
return handler.getLoginProfile().getProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
private final UUID uuid;
|
private final UUID uuid;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren