mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 23:01:38 +01:00
fix getloot
This commit is contained in:
@@ -37,6 +37,7 @@ export default new Command('getloot', ['getloot', 'dig', 'loot'], 'chatter', asy
|
||||
|
||||
for (const [item, amount] of Object.entries(itemDiff)) {
|
||||
if (userData.inventory[item]) userData.inventory[item] += amount;
|
||||
else userData.inventory[item] = amount;
|
||||
};
|
||||
|
||||
const itemstrings: string[] = [`${gainedqbucks} qbucks`];
|
||||
|
||||
Reference in New Issue
Block a user