mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Hotfix: Buying an item now saves data properly
This commit is contained in:
parent
659fdab609
commit
927e306e9a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue