diff options
author | BlackHole <black-hole@live.com> | 2016-02-17 02:15:43 +0100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-02-19 09:22:45 +1100 |
commit | e1ebe524a78e27f6a2829ed4574fded3779094e1 (patch) | |
tree | f7189cfc1abdc6cb2da3a8c472680a3123c99120 | |
parent | 3f3c65f471d01f4440f6bb32646fb8d48204783f (diff) | |
download | craftbukkit-e1ebe524a78e27f6a2829ed4574fded3779094e1.tar craftbukkit-e1ebe524a78e27f6a2829ed4574fded3779094e1.tar.gz craftbukkit-e1ebe524a78e27f6a2829ed4574fded3779094e1.tar.lz craftbukkit-e1ebe524a78e27f6a2829ed4574fded3779094e1.tar.xz craftbukkit-e1ebe524a78e27f6a2829ed4574fded3779094e1.zip |
[SPIGOT-1494] Really fix player skulls with custom texture but without owner.
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java index 8355d6ca..8a11b878 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java @@ -84,7 +84,7 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta { } boolean isSkullEmpty() { - return !(hasOwner()); + return profile == null; } @Override |