aboutsummaryrefslogtreecommitdiff
path: root/src/client/java/dev/isxander/yacl
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/java/dev/isxander/yacl')
-rw-r--r--src/client/java/dev/isxander/yacl/gui/YACLScreen.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/java/dev/isxander/yacl/gui/YACLScreen.java b/src/client/java/dev/isxander/yacl/gui/YACLScreen.java
index f2bc4e8..07ecfeb 100644
--- a/src/client/java/dev/isxander/yacl/gui/YACLScreen.java
+++ b/src/client/java/dev/isxander/yacl/gui/YACLScreen.java
@@ -131,7 +131,7 @@ public class YACLScreen extends Screen {
}
}
- private void finishOrSave() {
+ protected void finishOrSave() {
saveButtonMessage = null;
if (pendingChanges()) {
@@ -155,7 +155,7 @@ public class YACLScreen extends Screen {
} else close();
}
- private void cancelOrReset() {
+ protected void cancelOrReset() {
if (pendingChanges()) { // if pending changes, button acts as a cancel button
OptionUtils.forEachOptions(config, Option::forgetPendingValue);
close();
@@ -164,7 +164,7 @@ public class YACLScreen extends Screen {
}
}
- private void undo() {
+ protected void undo() {
OptionUtils.forEachOptions(config, Option::forgetPendingValue);
}