-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
Centos 6 and Windows 7
Java 8 U66
Spigot 1.8.8 (git-Spigot-db6de12-d3e0b6f)
This seems to have been a "feature" for quite some time but skeletons seem way to attached to their bows.
When spawning a skeleton and setting the item in the hand to AIR it will still show the bow.
Skeleton sirSkeletingtons = (Skeleton)entity.getWorld().spawnEntity(entity.getLocation(), EntityType.SKELETON);
EntityEquipment sirSkeletingtonsInventory = sirSkeletingtons.getEquipment();
sirSkeletingtonsInventory.setItemInHand(new ItemStack(Material.AIR));
Even clearing the EntityEquipment seems not to work.
Skeleton sirSkeletingtons = (Skeleton)entity.getWorld().spawnEntity(entity.getLocation(), EntityType.SKELETON); sirSkeletingtons.getEquipment().clear();
Thanks.