Add a method to clear purchases
This commit is contained in:
parent
65ebf41d4f
commit
21c7b082b0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user