Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Strengthen CraftMetaSkull hasOwner method
Dieser Commit ist enthalten in:
Ursprung
930a59c68c
Commit
039621dd44
@ -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