Removes some unnecessary spacing in quest info
This commit is contained in:
parent
2504a64191
commit
357245a173
@ -163,7 +163,7 @@ public class QuestsHandler extends AbstractTraitHandler {
|
||||
return requirementInfo.toString();
|
||||
}
|
||||
|
||||
requirementInfo.append("<br><b>Requirements: </b><ul>");
|
||||
requirementInfo.append("<b>Requirements: </b><ul>");
|
||||
|
||||
if (requirements.getQuestPoints() > 0) {
|
||||
requirementInfo.append("<li>").append(requirements.getQuestPoints()).append(" quest points</li>");
|
||||
@ -240,7 +240,7 @@ public class QuestsHandler extends AbstractTraitHandler {
|
||||
private String getQuestRewardsInfo(IQuest quest) {
|
||||
Rewards reward = quest.getRewards();
|
||||
StringBuilder rewardInfo = new StringBuilder();
|
||||
rewardInfo.append("<br><b>Rewards:</b><ul>");
|
||||
rewardInfo.append("<b>Rewards:</b><ul>");
|
||||
|
||||
if (reward.getMoney() > 0) {
|
||||
//TODO: Get the currency from Vault
|
||||
@ -321,7 +321,7 @@ public class QuestsHandler extends AbstractTraitHandler {
|
||||
StringBuilder questInfo = new StringBuilder();
|
||||
NPCRegistry registry = CitizensAPI.getNPCRegistry();
|
||||
for (IStage stage : quest.getStages()) {
|
||||
questInfo.append("<br><b>Tasks:</b><ul>");
|
||||
questInfo.append("<b>Tasks:</b><ul>");
|
||||
int mobTypes = stage.getMobsToKill().size();
|
||||
for (int i = 0; i < mobTypes; i++) {
|
||||
questInfo.append("<li>Kill ").append(normalizeName(stage.getMobsToKill().get(i).name())).append(
|
||||
|
Loading…
Reference in New Issue
Block a user