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