Updated blocks bounding boxes

This commit is contained in:
Shoghi Cervantes
2014-08-24 16:30:56 +02:00
parent f0f9bccb4b
commit c47e359262
24 changed files with 111 additions and 6 deletions

View File

@ -960,7 +960,7 @@ class Level implements ChunkManager, Metadatable{
//$face = -1;
}
if($hand->isSolid === true and count($this->getCollidingEntities($hand->getBoundingBox())) > 0){
if($hand->isSolid === true and $hand->getBoundingBox() !== null and count($this->getCollidingEntities($hand->getBoundingBox())) > 0){
return false; //Entity in block
}