Reward gems and shards the correct way

This commit is contained in:
cnr 2017-02-24 06:10:40 -06:00
parent 3858421194
commit 76ef632e81
2 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ public class CashOutModule extends MiniPlugin
UtilServer.CallEvent(completeEvent);
_donation.Get(player).addBalance(GlobalCurrency.GEM, completeEvent.getGems());
_donation.rewardCurrencyUntilSuccess(GlobalCurrency.GEM, player, "Earned", completeEvent.getGems());
session.endSession();
iterator.remove();

View File

@ -30,7 +30,7 @@ public class LootShardReward extends LootItemReward
@Override
public void onSuccessful()
{
_donation.Get(_player).addBalance(GlobalCurrency.TREASURE_SHARD, _amount);
_donation.rewardCurrencyUntilSuccess(GlobalCurrency.TREASURE_SHARD, _player, "Earned", _amount);
}
@Override