Projectile: fixed move() not using the given parameters (#4481)

it was using this->motion instead, which usually would be the same, but maybe not.
This commit is contained in:
Jason 2021-09-28 16:03:03 -04:00 committed by GitHub
parent 65e468e3c2
commit d417b1e2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ abstract class Projectile extends Entity{
Timings::$entityMoveTimer->startTiming();
$start = $this->asVector3();
$end = $start->add($this->motion);
$end = $start->add($dx, $dy, $dz);
$blockHit = null;
$entityHit = null;