aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
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;