TileEntity spawning improvement

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-27 22:58:54 +01:00
parent 2cb7a21b76
commit c06ffe3003
3 changed files with 3 additions and 2 deletions

View file

@ -57,6 +57,7 @@ class TileEntity extends stdClass{
$update = false;
switch($this->class){
case TILE_SIGN:
$this->server->query("UPDATE tileentities SET spawnable = 1 WHERE ID = ".$this->id.";");
break;
}
if($update === true){