mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-7986: Fix inconsistency of serializing profiles with empty names
This commit is contained in:
parent
372dea1f6e
commit
21b5eaf8fd
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ public final class CraftPlayerProfile implements PlayerProfile {
|
||||||
map.put("uniqueId", this.uniqueId.toString());
|
map.put("uniqueId", this.uniqueId.toString());
|
||||||
}
|
}
|
||||||
if (this.name != null) {
|
if (this.name != null) {
|
||||||
map.put("name", getName());
|
map.put("name", this.name);
|
||||||
}
|
}
|
||||||
rebuildDirtyProperties();
|
rebuildDirtyProperties();
|
||||||
if (!this.properties.isEmpty()) {
|
if (!this.properties.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue