Skip to content

Commit

Permalink
Fix Escape on WorldHostConfigScreen not going to parent
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 12, 2024
1 parent 92a0119 commit b099e27
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ public void removed() {
}
}

@Override
public void onClose() {
assert minecraft != null;
minecraft.setScreen(parent);
}

//#if MC < 1.20.2
//$$ @Override
//$$ public void tick() {
Expand Down

0 comments on commit b099e27

Please sign in to comment.