diff --git a/src/block/Block.php b/src/block/Block.php index 4b82a0cb9..d54f6ef2b 100644 --- a/src/block/Block.php +++ b/src/block/Block.php @@ -585,7 +585,7 @@ class Block{ public function isFullCube() : bool{ $bb = $this->getCollisionBoxes(); - return count($bb) === 1 and $bb[0]->getAverageEdgeLength() >= 1; //TODO: average length 1 != cube + return count($bb) === 1 and $bb[0]->getAverageEdgeLength() >= 1 and $bb[0]->isCube(); } public function calculateIntercept(Vector3 $pos1, Vector3 $pos2) : ?RayTraceResult{