From be538b8a2afdf08cb43d913e0e8d2080b959555e Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 2 Mar 2016 06:52:52 +1100 Subject: [PATCH] SPIGOT-1582: Add SkullType.DRAGON --- src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java b/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java index 77f5dcc67f..eb1548a0df 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java @@ -49,6 +49,8 @@ public class CraftSkull extends CraftBlockState implements Skull { return SkullType.PLAYER; case 4: return SkullType.CREEPER; + case 5: + return SkullType.DRAGON; } } @@ -65,6 +67,8 @@ public class CraftSkull extends CraftBlockState implements Skull { return 3; case CREEPER: return 4; + case DRAGON: + return 5; } }