From b34e6f53ebe3ed265f88cadfa2f5900f9fd69d2d Mon Sep 17 00:00:00 2001 From: Rush2929 <76860328+Rush2929@users.noreply.github.com> Date: Sat, 20 Nov 2021 08:21:10 +0900 Subject: [PATCH] Changed visibility of Projectile->move to Protected. (#4585) --- src/entity/projectile/Projectile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/projectile/Projectile.php b/src/entity/projectile/Projectile.php index a549b0d7a..cf700b052 100644 --- a/src/entity/projectile/Projectile.php +++ b/src/entity/projectile/Projectile.php @@ -166,7 +166,7 @@ abstract class Projectile extends Entity{ return $this->blockHit === null and parent::hasMovementUpdate(); } - public function move(float $dx, float $dy, float $dz) : void{ + protected function move(float $dx, float $dy, float $dz) : void{ $this->blocksAround = null; Timings::$entityMove->startTiming();