mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Expand disable Yes/No per #193
This commit is contained in:
parent
4b5ecf14f8
commit
3555492a70
@ -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"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user