Strengthen CraftMetaSkull hasOwner method

By: Andrew <andrew@epifano.codes>
This commit is contained in:
CraftBukkit/Spigot 2016-02-02 16:37:15 +11:00
parent 9dd1f7fef4
commit fd6787491b

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