hiro-team/hiro-bot

[RPG] Earring found but couldnt write bit

bariscodefxy opened this issue · 0 comments

// earrings
if ($this->getRPGUsingItemByType($user_id, RPG::ITEM_ARMOR | RPG::ITEM_ARMOR_EARRING | RPG::ITEM_USED_LEFT)) {
    echo "Earring Found\n";
    $this->setRPGItemType($item['id'], $item['item_type'] | RPG::ITEM_USED_RIGHT);
} else {
    $this->setRPGItemType($item['id'], $item['item_type'] | RPG::ITEM_USED_LEFT);
}

In Database.php#548