SPIGOT-1582: Add SkullType.DRAGON

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-03-02 06:52:52 +11:00
parent d0640b9cd7
commit 644995a8e5

View File

@@ -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;
}
}