SPIGOT-1582: Add SkullType.DRAGON

This commit is contained in:
md_5 2016-03-02 06:52:52 +11:00
parent dcbb2a45ab
commit be538b8a2a

View File

@ -49,6 +49,8 @@ public class CraftSkull extends CraftBlockState implements Skull {
return SkullType.PLAYER; return SkullType.PLAYER;
case 4: case 4:
return SkullType.CREEPER; return SkullType.CREEPER;
case 5:
return SkullType.DRAGON;
} }
} }
@ -65,6 +67,8 @@ public class CraftSkull extends CraftBlockState implements Skull {
return 3; return 3;
case CREEPER: case CREEPER:
return 4; return 4;
case DRAGON:
return 5;
} }
} }