summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackHole <black-hole@live.com>2016-02-17 02:15:43 +0100
committermd_5 <git@md-5.net>2016-02-19 09:22:45 +1100
commite1ebe524a78e27f6a2829ed4574fded3779094e1 (patch)
treef7189cfc1abdc6cb2da3a8c472680a3123c99120
parent3f3c65f471d01f4440f6bb32646fb8d48204783f (diff)
downloadcraftbukkit-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.java2
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