Skeletons are far to attached to their bows

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      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.

            Assignee:
            Unassigned
            Reporter:
            Chalkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: