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!'); |             channel.send('Not enough Mons!'); | ||||||
|           } else { |           } else { | ||||||
|             user.money -= cost; |             user.money -= cost; | ||||||
|  |             Storage.save(); | ||||||
|             item.run(message, cost, amount); |             item.run(message, cost, amount); | ||||||
|           } |           } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue