Trying to get chest to work.. It seems like this code is not picking up chests for some reason.. Help? PHP: foreach($this->getServer()->getLevels()->getTiles() as $tile){ if($tile instanceof Chest){ $id = 364; $damage = 0; $count = 1; $item = Item::get($id, $damage, $count); if($tile->isPaired()){ $inv = $tile->getInventory(); }else{ $inv = $tile->getRealInventory(); } $inv->addItem($item);