mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-18 23:27:44 +01:00
Potential fix for #429
This commit is contained in:
parent
fdeeb10272
commit
1678410ab8
@ -444,13 +444,14 @@ public class Quester {
|
||||
}
|
||||
|
||||
public LinkedList<String> getObjectivesReal(Quest quest) {
|
||||
if (getCurrentStage(quest).objectiveOverride != null) {
|
||||
LinkedList<String> objectives = new LinkedList<String>();
|
||||
objectives.add(ChatColor.GREEN + getCurrentStage(quest).objectiveOverride);
|
||||
return objectives;
|
||||
} else {
|
||||
return getObjectives(quest);
|
||||
if (getCurrentStage(quest) != null) {
|
||||
if (getCurrentStage(quest).objectiveOverride != null) {
|
||||
LinkedList<String> objectives = new LinkedList<String>();
|
||||
objectives.add(ChatColor.GREEN + getCurrentStage(quest).objectiveOverride);
|
||||
return objectives;
|
||||
}
|
||||
}
|
||||
return getObjectives(quest);
|
||||
}
|
||||
|
||||
public LinkedList<String> getObjectives(Quest quest) {
|
||||
|
Loading…
Reference in New Issue
Block a user