Don't default to the achievement gem reward for level ups

This commit is contained in:
Sam 2018-01-16 18:27:09 +00:00 committed by Alexander Meech
parent a8c852e80d
commit 739d26f0e4

View File

@ -72,6 +72,7 @@ public class AchievementSummaryComponent extends ComplexSummaryComponent
{ {
if (success) if (success)
{ {
_donationManager.rewardCurrencyUntilSuccess(GlobalCurrency.GEM, player, achievement.getName(), achievement.getGemReward());
rewardPlayer(player, achievement, rewards); rewardPlayer(player, achievement, rewards);
} }
}, player, achievement.getName()); }, player, achievement.getName());
@ -154,7 +155,7 @@ public class AchievementSummaryComponent extends ComplexSummaryComponent
private int[] getRewards(Achievement achievement, int level) private int[] getRewards(Achievement achievement, int level)
{ {
int gems = achievement.getGemReward(); int gems = 0;
int crowns = 0; int crowns = 0;
int xp = 0; int xp = 0;