mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-05 02:11:09 +01:00
Complete password objectives synchronously, fixes #694
This commit is contained in:
parent
d8d460c4e6
commit
942ef32940
@ -1458,7 +1458,13 @@ public class Quester {
|
||||
String display = getCurrentStage(quest).passwordDisplays.get(getCurrentStage(quest).passwordPhrases.indexOf(passes));
|
||||
getQuestData(quest).passwordsSaid.put(display, true);
|
||||
done = true;
|
||||
finishObjective(quest, "password", null, null, null, null, null, null, null, null, display, null);
|
||||
plugin.getServer().getScheduler().runTask(plugin, new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
finishObjective(quest, "password", null, null, null, null, null, null, null, null, display, null);
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user