mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Strengthen CraftMetaSkull hasOwner method
This commit is contained in:
parent
930a59c68c
commit
039621dd44
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
|
|||
}
|
||||
|
||||
public boolean hasOwner() {
|
||||
return profile != null;
|
||||
return profile != null && profile.getName() != null;
|
||||
}
|
||||
|
||||
public String getOwner() {
|
||||
|
|
Loading…
Reference in a new issue