mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fix fix fix
This commit is contained in:
parent
b4bfceeb6d
commit
fc3fb651b2
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue