geforkt von SteamWar/BungeeCore
Merge branch 'master' into NoFabricFabric
Dieser Commit ist enthalten in:
Commit
79a5e711c8
@ -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