Fix skull

This commit is contained in:
Edith Boles 2021-10-04 17:28:45 -07:00
parent 2c89da8318
commit e2f843de70

View File

@ -39,9 +39,10 @@ public class FakePlayerRitual extends Ritual {
slime.setPassenger(armorStand);
slime.setSize(1);
EntityEquipment equipment = armorStand.getEquipment();
ItemStack skull = new ItemStack(Material.SKULL);
ItemStack skull = new ItemStack(Material.SKULL_ITEM, 1, (short) 3);
SkullMeta meta = (SkullMeta) skull.getItemMeta();
meta.setOwner(caster.getName());
skull.setItemMeta(meta);
equipment.setHelmet(skull);
}