aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-10-24 14:05:37 +0200
committernea <romangraef@gmail.com>2022-10-24 14:05:37 +0200
commit7cba265f5999612ef97b5b574429e67273e84a38 (patch)
treea144495bf7df79b704389f4fd8a398ceada02234
parent28cbae726c341478c9d031fca638e2b3989715ab (diff)
downloadOneConfig-feat/openkeybind.tar.gz
OneConfig-feat/openkeybind.tar.bz2
OneConfig-feat/openkeybind.zip
Make ConfigKeyBind better in every wayfeat/openkeybind
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java
index 1e94422..d4ff698 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java
@@ -95,7 +95,7 @@ public class ConfigKeyBind extends BasicOption {
setKeyBind(keyBind);
}
- private OneKeyBind getKeyBind() {
+ protected OneKeyBind getKeyBind() {
OneKeyBind keyBind = new OneKeyBind();
try {
field.setAccessible(true);
@@ -105,7 +105,7 @@ public class ConfigKeyBind extends BasicOption {
return keyBind;
}
- private void setKeyBind(OneKeyBind keyBind) {
+ protected void setKeyBind(OneKeyBind keyBind) {
try {
set(keyBind);
} catch (IllegalAccessException ignored) {