From 72c09045d5b9505be3790f928c6b8f6874b5f47b Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Wed, 29 Oct 2014 13:21:54 +0100 Subject: [PATCH] Fixed Zombie drops crash --- src/pocketmine/entity/Zombie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/entity/Zombie.php b/src/pocketmine/entity/Zombie.php index 243ea7a5f8..0061439ef8 100644 --- a/src/pocketmine/entity/Zombie.php +++ b/src/pocketmine/entity/Zombie.php @@ -83,7 +83,7 @@ class Zombie extends Monster{ public function getDrops(){ $drops = [ - ItemItem::get(Item::FEATHER, 0, 1) + ItemItem::get(ItemItem::FEATHER, 0, 1) ]; if($this->lastDamageCause instanceof EntityDamageByEntityEvent and $this->lastDamageCause->getEntity() instanceof Player){ if(mt_rand(0, 199) < 5){