mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-13 02:51:19 +01:00
Block start must respect ask-confirmation when disabled
This commit is contained in:
parent
27463d8be9
commit
93263fa1a2
@ -325,6 +325,9 @@ public class PlayerListener implements Listener {
|
||||
}
|
||||
}
|
||||
quester.setQuestToTake(q.getName());
|
||||
if (!plugin.getSettings().canAskConfirmation()) {
|
||||
quester.takeQuest(q, false);
|
||||
} else {
|
||||
final String s = ChatColor.GOLD + "- " + ChatColor.DARK_PURPLE
|
||||
+ quester.getQuestToTake() + ChatColor.GOLD + " -\n" + "\n"
|
||||
+ ChatColor.RESET + plugin.getQuest(quester.getQuestToTake())
|
||||
@ -334,6 +337,7 @@ public class PlayerListener implements Listener {
|
||||
}
|
||||
plugin.getConversationFactory().buildConversation(player).begin();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user