diff --git a/src/main/java/world/bentobox/challenges/panel/ConversationUtils.java b/src/main/java/world/bentobox/challenges/panel/ConversationUtils.java index 76873ac..270528f 100644 --- a/src/main/java/world/bentobox/challenges/panel/ConversationUtils.java +++ b/src/main/java/world/bentobox/challenges/panel/ConversationUtils.java @@ -119,6 +119,9 @@ public String getPromptText(@NotNull ConversationContext conversationContext) 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(); }