From 7cba265f5999612ef97b5b574429e67273e84a38 Mon Sep 17 00:00:00 2001 From: nea Date: Mon, 24 Oct 2022 14:05:37 +0200 Subject: Make ConfigKeyBind better in every way --- .../cc/polyfrost/oneconfig/gui/elements/config/ConfigKeyBind.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig') 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) { -- cgit