Added death events for blaze and snowman, fixed reported loot for chickens

This commit is contained in:
Nathan Adams
2011-11-26 00:56:11 +00:00
parent b9aaf3977c
commit 8062d5c7be
3 changed files with 272 additions and 2 deletions

View File

@@ -92,9 +92,9 @@ public class EntityChicken extends EntityAnimal {
}
if (this.z()) {
this.b(Item.COOKED_CHICKEN.id, 1);
loot.add(new org.bukkit.inventory.ItemStack(Item.COOKED_CHICKEN.id, 1));
} else {
this.b(Item.RAW_CHICKEN.id, 1);
loot.add(new org.bukkit.inventory.ItemStack(Item.RAW_CHICKEN.id, 1));
}
CraftEventFactory.callEntityDeathEvent(this, loot);