Lava & water flow now creates stone, cobblestona and obsidian

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-27 00:10:34 +01:00
parent 895e001216
commit 0082bc9d10
2 changed files with 21 additions and 2 deletions

View File

@@ -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);