This commit is contained in:
B1G-FUNGUS 2021-10-04 17:22:03 -07:00
parent 3b8487ae1f
commit 0dfeba7240

View File

@ -39,7 +39,7 @@ public class FakePlayerRitual extends Ritual {
slime.setPassenger(armorStand); slime.setPassenger(armorStand);
slime.setSize(1); slime.setSize(1);
EntityEquipment equipment = armorStand.getEquipment(); EntityEquipment equipment = armorStand.getEquipment();
ItemStack skull = new ItemStack(Material.SKULL); ItemStack skull = new ItemStack(Material.SKULL, 1);
SkullMeta meta = (SkullMeta)skull; SkullMeta meta = (SkullMeta)skull;
meta.setOwner(caster.getName()); meta.setOwner(caster.getName());
equipment.setHelmet(skull); equipment.setHelmet(skull);