Added item drop

This commit is contained in:
Shoghi Cervantes
2014-06-05 00:31:16 +02:00
parent 99a0117a33
commit 2877f026ec
6 changed files with 99 additions and 35 deletions

View File

@ -199,10 +199,6 @@ class Chest extends Spawnable implements InventoryHolder, Container{
$tile->spawnToAll();
$this->checkPairing();
//TODO: Update to new events
//$this->server->handle("tile.update", $this);
//$this->server->handle("tile.update", $tile);
return true;
}
@ -216,11 +212,9 @@ class Chest extends Spawnable implements InventoryHolder, Container{
$this->spawnToAll();
$this->checkPairing();
//TODO: tile update event
//$this->server->handle("tile.update", $this);
if($tile instanceof Chest){
$tile->spawnToAll();
//$this->server->handle("tile.update", $tile);
}
return true;