diff options
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/core/OneKeyBind.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gradle.properties b/gradle.properties index 9cfc34e..6defd3f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name = OneConfig mod_id = oneconfig -mod_version = 0.1.0-alpha9 +mod_version = 0.1.0-alpha10 essential.defaults.loom=0 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; |