mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-12-27 03:17:47 +01:00
326 ordering bug (#364)
* Possible fix for #326 * Add a ConversationAbandonedListener
This commit is contained in:
parent
12f3933ce3
commit
52864d6329
@ -119,6 +119,9 @@ public class ConversationUtils
|
||||
withFirstPrompt(confirmationPrompt).
|
||||
withLocalEcho(false).
|
||||
withTimeout(90).
|
||||
// Use null value in consumer to detect if user has abandoned conversation.
|
||||
addConversationAbandonedListener(ConversationUtils.getAbandonListener(consumer, user))
|
||||
.
|
||||
buildConversation(user.getPlayer()).
|
||||
begin();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user