Skip to content

Commit

Permalink
feat: add closeAllForms() method
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Jul 14, 2024
1 parent 68162a2 commit 49d8c01
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ public void showForm(Form form) {
public void closeAllForms() {
var pk = new ClientboundCloseFormPacket();
networkComponent.sendPacket(pk);
forms.clear();
}

@Override
Expand Down

0 comments on commit 49d8c01

Please sign in to comment.