mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Lava & water flow now creates stone, cobblestona and obsidian
This commit is contained in:
parent
895e001216
commit
0082bc9d10
2 changed files with 21 additions and 2 deletions
|
|
@ -225,8 +225,10 @@ class PlayerAPI{
|
|||
$player->close();
|
||||
$this->saveOffline($player->username, $player->data);
|
||||
$this->server->query("DELETE FROM players WHERE name = '".$player->username."';");
|
||||
$player->entity->player = null;
|
||||
$player->entity = null;
|
||||
if($player->entity instanceof Entity){
|
||||
$player->entity->player = null;
|
||||
$player->entity = null;
|
||||
}
|
||||
$this->server->api->entity->remove($player->eid);
|
||||
$player = null;
|
||||
unset($player);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue