mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Fixed item in hand in creative mode, player files are now readable by Minecraft PC
This commit is contained in:
@@ -376,12 +376,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
}
|
||||
|
||||
$hasUpdate = false;
|
||||
$this->lastX = $this->x;
|
||||
$this->lastY = $this->y;
|
||||
$this->lastZ = $this->z;
|
||||
$this->lastMotionX = $this->motionX;
|
||||
$this->lastPitch = $this->pitch;
|
||||
$this->lastYaw = $this->yaw;
|
||||
$this->updateMovement();
|
||||
|
||||
if($this->handleWaterMovement()){
|
||||
$this->fallDistance = 0;
|
||||
@@ -469,7 +464,6 @@ abstract class Entity extends Position implements Metadatable{
|
||||
}
|
||||
|
||||
$hasUpdate = $this->entityBaseTick();
|
||||
$this->updateMovement();
|
||||
|
||||
//if($this->isStatic())
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user