aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-12 12:35:25 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-12 12:35:25 +0200
commit004191f93e015c0f83dc5da65ea847641033cbdb (patch)
tree4e303b774fef51a6619afb77d639310d29938d91 /src/main
parent4aea11fd22e72c7766c461285ec108f8cbda2659 (diff)
downloadOneConfig-004191f93e015c0f83dc5da65ea847641033cbdb.tar.gz
OneConfig-004191f93e015c0f83dc5da65ea847641033cbdb.tar.bz2
OneConfig-004191f93e015c0f83dc5da65ea847641033cbdb.zip
hotfix
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java b/src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java
index 229e4d1..50a26e0 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java
@@ -6,8 +6,8 @@ import java.util.ArrayList;
public class OneKeyBind {
protected final ArrayList<Integer> keyBinds = new ArrayList<>();
- protected final Runnable runnable;
- protected boolean hasRun;
+ protected transient final Runnable runnable;
+ protected transient boolean hasRun;
public OneKeyBind(Runnable runnable, int... keys) {
this.runnable = runnable;