From 9421410e633ddf85c99c2e920c78f0b03fd01cf9 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 13 Oct 2024 17:57:48 +0200 Subject: [PATCH] allow accessing properties from .back() --- src/main/java/de/com/baseband/clientboot/ClientBoot.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/com/baseband/clientboot/ClientBoot.java b/src/main/java/de/com/baseband/clientboot/ClientBoot.java index 104f09b..f894bc0 100644 --- a/src/main/java/de/com/baseband/clientboot/ClientBoot.java +++ b/src/main/java/de/com/baseband/clientboot/ClientBoot.java @@ -56,13 +56,14 @@ public class ClientBoot { return this; } - public void back() { + public ClientBoot back() { if(window.options.size() == 1) - return; + return this; window.options.pop(); window.selected = 0; window.checkSelected(false); window.justRanSomething.unlock(); + return this; } public void finish() {