Bukkit/CraftBukkit — pull request #1379 by Black-Hole (2014-05-20 17:58:52+00:00)
Title: [C] Fix equipment drops for skeletons. Fixes BUKKIT-5625

The Issue:
Commit https://github.com/Bukkit/CraftBukkit/commit/d611cff2b37e817c1070b83aeb93a79cd8662bc2 changed the way equipment drops are calculated. Since then skeletons don't drop any of their equipment when they die.

Justification for this PR:
Skeleton should drop their equipment like in vanilla Minecraft.

PR Breakdown:
https://github.com/Bukkit/CraftBukkit/commit/d611cff2b37e817c1070b83aeb93a79cd8662bc2 changed the code in EntityInsentient. Skeletons can drop more than one item. The first is arrow or coal, the second is bone. So EntitySkeleton don't call the super method from EntityInsentient and the code for dropping equipment is missing. This PR adds the same code as in EntityInsentient to fix the issue.

Testing Results and Materials:
Before this PR no skeletons will drop any equipment like bows. After applying this PR the drops of skeletons are working as intended again.

Relevant PR:
(none)

JIRA Ticket: BUKKIT-5625 - https://bukkit.atlassian.net/browse/BUKKIT-5625