mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 16:42:03 -07:00
Added death events for blaze and snowman, fixed reported loot for chickens
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user