From 21c7b082b0421280ee83d83b9c633e498a6267ce Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 23 Jun 2017 01:43:38 +0100 Subject: [PATCH] Add a method to clear purchases --- .../nautilus/game/arcade/game/games/moba/shop/MobaShop.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/moba/shop/MobaShop.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/moba/shop/MobaShop.java index f2707a965..a28a1acb2 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/moba/shop/MobaShop.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/moba/shop/MobaShop.java @@ -251,6 +251,11 @@ public class MobaShop implements Listener return null; } + public void clearPurchases(Player player) + { + _upgrades.remove(player); + } + @EventHandler public void playerDeath(PlayerDeathEvent event) {