Fix skins on heads in is top

This commit is contained in:
Daniel Ciepluch 2020-03-29 19:37:26 +02:00 committed by Brianna
parent 66decd849b
commit 0292fe0fdf

View File

@ -67,14 +67,6 @@ public final class SkullUtil {
} }
public static ItemStack createItemStack() { public static ItemStack createItemStack() {
ItemStack is; return CompatibleMaterial.PLAYER_HEAD.getItem();
if (NMSUtil.getVersionNumber() > 12) {
is = new ItemStack(Material.valueOf("PLAYER_HEAD"));
} else {
is = CompatibleMaterial.SKELETON_SKULL.getItem();
}
return is;
} }
} }