From 644995a8e568c31aedeeb757201616f96704c0d5 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 2 Mar 2016 06:52:52 +1100 Subject: [PATCH] SPIGOT-1582: Add SkullType.DRAGON By: md_5 --- .../main/java/org/bukkit/craftbukkit/block/CraftSkull.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java index 77f5dcc67f..eb1548a0df 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftSkull.java +++ b/paper-server/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; } }