Match Player pickup area with Minecraft

This commit is contained in:
Shoghi Cervantes 2014-10-15 14:57:12 +02:00
parent bda6f03e15
commit 5dc5aba42c

View File

@ -1213,7 +1213,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
}
}
foreach($this->level->getNearbyEntities($this->boundingBox->grow(1, 1, 1), $this) as $entity){
foreach($this->level->getNearbyEntities($this->boundingBox->grow(1, 0.5, 1), $this) as $entity){
if(($currentTick - $entity->lastUpdate) > 1){
$entity->scheduleUpdate();
}