mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Updated blocks bounding boxes
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user