mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-22 02:25:52 +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).
|
withFirstPrompt(confirmationPrompt).
|
||||||
withLocalEcho(false).
|
withLocalEcho(false).
|
||||||
withTimeout(90).
|
withTimeout(90).
|
||||||
|
// Use null value in consumer to detect if user has abandoned conversation.
|
||||||
|
addConversationAbandonedListener(ConversationUtils.getAbandonListener(consumer, user))
|
||||||
|
.
|
||||||
buildConversation(user.getPlayer()).
|
buildConversation(user.getPlayer()).
|
||||||
begin();
|
begin();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user