mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-27 12:45:25 +01:00
Fix skins on heads in is top
This commit is contained in:
parent
66decd849b
commit
0292fe0fdf
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user