1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-23 23:39:34 +01:00

Strengthen CraftMetaSkull hasOwner method

This commit is contained in:
Andrew 2016-02-02 16:37:15 +11:00 committed by md_5
parent 930a59c68c
commit 039621dd44

View file

@ -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() {