Block->getBoundingBox() and Block->getCollisionBoxes() are now final

Force usage of Block->recalculateBoundingBox() and Block->recalculateCollisionBoxes()
This commit is contained in:
Dylan K. Taylor
2019-08-15 16:16:08 +01:00
parent 6dd1cdc413
commit e29ac514d7
3 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ class NetherPortal extends Transparent{
return false;
}
public function getBoundingBox() : ?AxisAlignedBB{
protected function recalculateBoundingBox() : ?AxisAlignedBB{
return null;
}