Skip to content

Commit

Permalink
Update src/main/java/de/hysky/skyblocker/skyblock/speedPreset/SpeedPr…
Browse files Browse the repository at this point in the history
…esetsScreen.java

Co-authored-by: Kevin <[email protected]>
  • Loading branch information
Manchick0 and kevinthegreat1 authored Dec 29, 2024
1 parent 9682f4a commit 919f9b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public void render(DrawContext context, int mouseX, int mouseY, float delta) {
public void close() {
assert this.client != null;
if (this.list.hasBeenChanged()) {
client.setScreen(new ConfirmScreen(callback -> {
if (callback) {
client.setScreen(new ConfirmScreen(confirmedAction -> {
if (confirmedAction) {
this.client.setScreen(parent);
} else {
this.client.setScreen(this);
Expand Down

0 comments on commit 919f9b8

Please sign in to comment.