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 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(); }