mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
Entity: removed redundant return values for move()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user