Skip to content

Commit

Permalink
Remove spaces on if statement
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan T. <[email protected]>
  • Loading branch information
IvanCraft623 and dktapps authored Dec 4, 2024
1 parent d32129a commit e01c31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entity/projectile/Projectile.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ protected function move(float $dx, float $dy, float $dz) : void{
}

$this->isCollided = $this->onGround = true;
if ($motionBeforeOnHit->equals($this->motion)) {
if($motionBeforeOnHit->equals($this->motion)){
$this->motion = Vector3::zero();
}
}else{
Expand Down

0 comments on commit e01c31e

Please sign in to comment.