rwerwrwer
This commit is contained in:
parent
01e3e2c60f
commit
2c89da8318
@ -39,8 +39,8 @@ 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, 1);
|
ItemStack skull = new ItemStack(Material.SKULL);
|
||||||
SkullMeta meta = (SkullMeta)skull;
|
SkullMeta meta = (SkullMeta)skull.getItemMeta();
|
||||||
meta.setOwner(caster.getName());
|
meta.setOwner(caster.getName());
|
||||||
equipment.setHelmet(skull);
|
equipment.setHelmet(skull);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user