Expand disable Yes/No per #193

This commit is contained in:
HappyPikachu 2018-01-07 22:02:18 -05:00
parent 4b5ecf14f8
commit 3555492a70

View File

@ -1632,7 +1632,11 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
for (String msg : s.split("<br>")) { for (String msg : s.split("<br>")) {
player.sendMessage(msg); player.sendMessage(msg);
} }
conversationFactory.buildConversation((Conversable) player).begin(); if (!askConfirmation) {
getQuester(player.getUniqueId()).takeQuest(getQuest(getQuester(player.getUniqueId()).questToTake), false);
} else {
conversationFactory.buildConversation((Conversable) player).begin();
}
} else { } else {
player.sendMessage(ChatColor.YELLOW + Lang.get("alreadyConversing")); player.sendMessage(ChatColor.YELLOW + Lang.get("alreadyConversing"));
} }