mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Unnecessary return/continue
This commit is contained in:
parent
e2dae67a1c
commit
d3f5386812
5 changed files with 5 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue