fixed freeAllChunks

This commit is contained in:
GameHerobrine 2023-12-09 20:53:07 +03:00
parent cef28d2c38
commit c4b03ce13c
3 changed files with 19 additions and 28 deletions

View file

@ -408,8 +408,8 @@ class Entity extends Position
} else{
$hasUpdate = true;
}
if(($this->player instanceof Player) and ($this->player->gamemode & 0x01) === CREATIVE){ // Remove fire effects in next tick
$this->fire = 1;
if(($this->player instanceof Player) and ($this->player->gamemode & 0x01) === CREATIVE){
$this->fire = 0;
}
}