mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Fix fix fix
This commit is contained in:
parent
b4bfceeb6d
commit
fc3fb651b2
@ -520,6 +520,7 @@ class Entity extends Position{
|
||||
if($this->closed === true){
|
||||
return false;
|
||||
}
|
||||
$now = microtime(true);
|
||||
if($this->isStatic === false and ($this->last[0] != $this->x or $this->last[1] != $this->y or $this->last[2] != $this->z or $this->last[3] != $this->yaw or $this->last[4] != $this->pitch)){
|
||||
if($this->class === ENTITY_PLAYER or ($this->last[5] + 8) < $now){
|
||||
if($this->server->api->handle("entity.move", $this) === false){
|
||||
|
Loading…
x
Reference in New Issue
Block a user