Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Luis C.M committed 2023-07-30 01:26:42 -05:00
commit d2de021dae
5 files changed
+34 -33

No files matched your search

@@ -143,9 +143,15 @@ public class OverlayQuestTracking extends Gui {
objectiveLines.add(objective);
}
String npcName = compound.getString("TurnInNPC");
if (!npcName.isEmpty()) {
turnInText.add("Complete with " + npcName);
boolean instantComplete = compound.getBoolean("Instant");
if(instantComplete){
turnInText.add("Completed automatically");
}
else {
String npcName = compound.getString("TurnInNPC");
if (!npcName.isEmpty()) {
turnInText.add("Complete with " + npcName);
}
}
this.initOverlay();