Added extra Entity metadata

This commit is contained in:
Shoghi Cervantes
2014-10-16 12:49:45 +02:00
parent 8637b7f5a3
commit c73a3e53be
3 changed files with 4 additions and 3 deletions

View File

@ -1218,7 +1218,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
$entity->scheduleUpdate();
}
if($entity instanceof Arrow and $entity->onGround and $this->motionX == 0 and $this->motionY == 0 and $this->motionZ == 0){
if($entity instanceof Arrow and $entity->onGround){
if($entity->dead !== true){
$item = Item::get(Item::ARROW, 0, 1);
if($this->isSurvival() and !$this->inventory->canAddItem($item)){