geforkt von Mirrors/Paper
Strengthen CraftMetaSkull hasOwner method
By: Andrew <andrew@epifano.codes>
Dieser Commit ist enthalten in:
Ursprung
9dd1f7fef4
Commit
fd6787491b
@ -103,7 +103,7 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasOwner() {
|
public boolean hasOwner() {
|
||||||
return profile != null;
|
return profile != null && profile.getName() != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getOwner() {
|
public String getOwner() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren