aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {