From 145c9a3ea3389270c4ece1f528a4058a31f23fff Mon Sep 17 00:00:00 2001 From: brachy84 Date: Sun, 6 Oct 2024 16:18:48 +0200 Subject: [PATCH] increase script cache version --- .../cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java b/src/main/java/com/cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java index 7169f8a8e..a8c4017d8 100644 --- a/src/main/java/com/cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java +++ b/src/main/java/com/cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java @@ -46,7 +46,7 @@ public class GroovyScriptSandbox extends GroovySandbox { * Changing this number will force the cache to be deleted and every script has to be recompiled. * Useful when changes to the compilation process were made. */ - public static final int CACHE_VERSION = 2; + public static final int CACHE_VERSION = 3; /** * Setting this to false will cause compiled classes to never be cached. * As a side effect some compilation behaviour might change. Can be useful for debugging.