mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Blocks now save their bounding box, fixed entity block collision check
This commit is contained in:
@ -42,7 +42,7 @@ class Cactus extends Transparent{
|
||||
$this->hardness = 2;
|
||||
}
|
||||
|
||||
public function getBoundingBox(){
|
||||
protected function recalculateBoundingBox(){
|
||||
|
||||
return AxisAlignedBB::getBoundingBoxFromPool(
|
||||
$this->x + 0.0625,
|
||||
|
Reference in New Issue
Block a user