Give players their earnt gems
This commit is contained in:
parent
3557fd8acc
commit
490d1d86f2
@ -56,6 +56,11 @@ public class EconomyModule extends MiniPlugin
|
|||||||
addToStore(killerPlayer, "Killing " + F.name(player.getName()), gems);
|
addToStore(killerPlayer, "Killing " + F.name(player.getName()), gems);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void cashOut(PlayerCashOutCompleteEvent event)
|
||||||
|
{
|
||||||
|
event.incrementGems(_storedGems.get(event.getPlayer().getUniqueId()));
|
||||||
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void quit(PlayerQuitEvent event)
|
public void quit(PlayerQuitEvent event)
|
||||||
|
Loading…
Reference in New Issue
Block a user