Fix not lobby gem duping

This commit is contained in:
Sam 2017-04-26 21:56:01 +01:00
parent 82db46c1e6
commit 90d173551d

View File

@ -42,12 +42,6 @@ public class EconomyModule extends MiniClientPlugin<Integer>
addCommand(new GiveGemsCommand(this));
}
@EventHandler
public void respawn(PlayerCustomRespawnEvent event)
{
addToStore(event.getPlayer(), null, GEM_START_COST);
}
@EventHandler
public void teleportIn(PlayerTeleportIntoMapEvent event)
{
@ -58,6 +52,8 @@ public class EconomyModule extends MiniClientPlugin<Integer>
{
_donation.purchaseUnknownSalesPackage(player, "Gem Hunters Access", GlobalCurrency.GEM, GEM_START_COST, false, null);
}
addToStore(event.getPlayer(), null, GEM_START_COST);
}
@EventHandler