Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2022-09-15 12:44:53 +01:00
26 changed files with 171 additions and 190 deletions

View File

@ -72,7 +72,7 @@ class Cactus extends Transparent{
* @return AxisAlignedBB[]
*/
protected function recalculateCollisionBoxes() : array{
static $shrinkSize = 1 / 16;
$shrinkSize = 1 / 16;
return [AxisAlignedBB::one()->contract($shrinkSize, 0, $shrinkSize)->trim(Facing::UP, $shrinkSize)];
}