diff --git a/patches/server/Basic-PlayerProfile-API.patch b/patches/server/Basic-PlayerProfile-API.patch index 8ae62d2813..4ba854c14b 100644 --- a/patches/server/Basic-PlayerProfile-API.patch +++ b/patches/server/Basic-PlayerProfile-API.patch @@ -357,10 +357,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + @Override + public @NotNull Map serialize() { + Map map = new LinkedHashMap<>(); -+ if (this.getId() != null) { ++ if (!this.emptyUUID) { + map.put("uniqueId", this.getId().toString()); + } -+ if (!this.getName().isEmpty()) { ++ if (!this.emptyName) { + map.put("name", getName()); + } + if (!this.properties.isEmpty()) {