Adds missing quest points to rewards

This commit is contained in:
Kristian Knarvik 2022-11-01 22:15:19 +01:00
parent 219abf9ed9
commit 4555331988

View File

@ -39,6 +39,10 @@ public class QuestRewardsInfoGenerator {
rewardInfo.append("<li>").append(reward.getExp()).append(" exp").append("</li>"); rewardInfo.append("<li>").append(reward.getExp()).append(" exp").append("</li>");
} }
if (reward.getQuestPoints() > 0) {
rewardInfo.append("<li>").append(reward.getQuestPoints()).append(" quest point(s)").append("</li>");
}
for (String permission : reward.getPermissions()) { for (String permission : reward.getPermissions()) {
rewardInfo.append("<li>").append("Permission: ").append(permission).append("</li>"); rewardInfo.append("<li>").append("Permission: ").append(permission).append("</li>");
} }