Unnecessary return/continue

This commit is contained in:
Sunch 2024-08-17 20:05:28 +08:00
parent e2dae67a1c
commit d3f5386812
5 changed files with 5 additions and 10 deletions

View file

@ -139,8 +139,7 @@ class Arrow extends Entity{
++$this->groundTicks;
if($this->groundTicks >= 1200){ //TODO customizeable?
$this->close();
return;
}
}
}else{
$this->inGround = false;
$this->speedX *= lcg_value() * 0.2;