Revert msg change from #396

This commit is contained in:
HappyPikachu 2018-07-30 15:58:29 -04:00
parent 329875bd32
commit d924df597a

View File

@ -158,10 +158,6 @@ public class Quest {
nextStage.startEvent.fire(quester, this); nextStage.startEvent.fire(quester, this);
} }
updateCompass(quester, nextStage); updateCompass(quester, nextStage);
String stageStartMessage = quester.getCurrentStage(this).startMessage;
if (stageStartMessage != null) {
quester.getPlayer().sendMessage(Quests.parseString(stageStartMessage, this));
}
String msg = Lang.get(quester.getPlayer(), "questObjectivesTitle"); String msg = Lang.get(quester.getPlayer(), "questObjectivesTitle");
msg = msg.replaceAll("<quest>", name); msg = msg.replaceAll("<quest>", name);
quester.getPlayer().sendMessage(ChatColor.GOLD + msg); quester.getPlayer().sendMessage(ChatColor.GOLD + msg);
@ -171,6 +167,10 @@ public class Quest {
} }
quester.getPlayer().sendMessage(s); quester.getPlayer().sendMessage(s);
} }
String stageStartMessage = quester.getCurrentStage(this).startMessage;
if (stageStartMessage != null) {
quester.getPlayer().sendMessage(Quests.parseString(stageStartMessage, this));
}
quester.updateJournal(); quester.updateJournal();
} }