diff options
author | nea <romangraef@gmail.com> | 2022-10-24 14:05:37 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-10-24 14:05:37 +0200 |
commit | 7cba265f5999612ef97b5b574429e67273e84a38 (patch) | |
tree | a144495bf7df79b704389f4fd8a398ceada02234 | |
parent | 28cbae726c341478c9d031fca638e2b3989715ab (diff) | |
download | OneConfig-7cba265f5999612ef97b5b574429e67273e84a38.tar.gz OneConfig-7cba265f5999612ef97b5b574429e67273e84a38.tar.bz2 OneConfig-7cba265f5999612ef97b5b574429e67273e84a38.zip |
Make ConfigKeyBind better in every wayfeat/openkeybind
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java | 4 |
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) { |