From 927e306e9ab9532ae647a11c900c9581229744a8 Mon Sep 17 00:00:00 2001 From: WatDuhHekBro <44940783+WatDuhHekBro@users.noreply.github.com> Date: Mon, 14 Dec 2020 01:54:46 -0600 Subject: [PATCH] Hotfix: Buying an item now saves data properly --- src/commands/fun/subcommands/eco-shop.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/fun/subcommands/eco-shop.ts b/src/commands/fun/subcommands/eco-shop.ts index 8aa2c21..9c3a5f8 100644 --- a/src/commands/fun/subcommands/eco-shop.ts +++ b/src/commands/fun/subcommands/eco-shop.ts @@ -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); }