Archiviert
1
0

Merge branch 'master' into NoFabricFabric

Dieser Commit ist enthalten in:
YoyoNow 2023-02-18 15:57:42 +01:00
Commit 79a5e711c8

Datei anzeigen

@ -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;