mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Removed old revert flag from Player->processMovement()
This commit is contained in:
parent
61ea149ff0
commit
26e47ef694
@ -1098,7 +1098,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
$dz = $this->newPosition->z - $this->z;
|
||||
|
||||
//$this->inBlock = $this->checkObstruction($this->x, ($this->boundingBox->minY + $this->boundingBox->maxY) / 2, $this->z);
|
||||
$revert = !$this->move($dx, $dy, $dz);
|
||||
$this->move($dx, $dy, $dz);
|
||||
|
||||
$diffX = $this->x - $this->newPosition->x;
|
||||
$diffZ = $this->z - $this->newPosition->z;
|
||||
|
Loading…
x
Reference in New Issue
Block a user