We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab9ce87 commit 9028b11Copy full SHA for 9028b11
src/main/java/com/seailz/jdaframework/modals/listeners/ModalListener.java
@@ -24,6 +24,7 @@ public void onModalInteraction(@NotNull ModalInteractionEvent e){
24
if (modalEntry.getValue().getId().equals(e.getModalId()) && modalEntry.getKey().getId().equals(e.getMember().getId())){
25
ModalMapping[] mappings = e.getValues().toArray(new ModalMapping[0]);
26
modalEntry.getValue().getOnSubmit().accept(e.getMember(), mappings, e);
27
+ ModalManager.getModals().remove(modalEntry);
28
}
29
30
0 commit comments