Entity: removed redundant return values for move()

This commit is contained in:
Dylan K. Taylor
2018-03-14 13:39:23 +00:00
parent ddc9dca8b4
commit fa644edef3
2 changed files with 2 additions and 10 deletions

View File

@ -153,7 +153,7 @@ abstract class Projectile extends Entity{
return $parent;
}
public function move(float $dx, float $dy, float $dz) : bool{
public function move(float $dx, float $dy, float $dz) : void{
$this->blocksAround = null;
Timings::$entityMoveTimer->startTiming();
@ -246,8 +246,6 @@ abstract class Projectile extends Entity{
Timings::$entityMoveTimer->stopTiming();
return true;
}
/**