mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Blocks now save their bounding box, fixed entity block collision check
This commit is contained in:
@ -45,7 +45,7 @@ class WoodSlab extends Transparent{
|
||||
$this->hardness = 15;
|
||||
}
|
||||
|
||||
public function getBoundingBox(){
|
||||
protected function recalculateBoundingBox(){
|
||||
|
||||
if(($this->meta & 0x08) > 0){
|
||||
return AxisAlignedBB::getBoundingBoxFromPool(
|
||||
|
Reference in New Issue
Block a user