Hotfix: Buying an item now saves data properly

This commit is contained in:
WatDuhHekBro 2020-12-14 01:54:46 -06:00
parent 659fdab609
commit 927e306e9a
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ export const BuyCommand = new Command({
channel.send('Not enough Mons!');
} else {
user.money -= cost;
Storage.save();
item.run(message, cost, amount);
}