Entity: rename movX/movY/movZ to wantedX/wantedY/wantedZ

this makes the code much easier to understand.
This commit is contained in:
Dylan K. Taylor
2021-09-05 14:06:53 +01:00
parent 73cc841d0b
commit d329bfb25d
2 changed files with 16 additions and 16 deletions

View File

@ -1058,7 +1058,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
return 0;
}
protected function checkGroundState(float $movX, float $movY, float $movZ, float $dx, float $dy, float $dz) : void{
protected function checkGroundState(float $wantedX, float $wantedY, float $wantedZ, float $dx, float $dy, float $dz) : void{
if($this->isSpectator()){
$this->onGround = false;
}else{