This repository was archived by the owner on Aug 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/org/lins/mmmjjkx/rykenslimefuncustomizer/bulit_in Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7979 </build >
8080
8181 <repositories >
82+ <repository >
83+ <id >central</id >
84+ <url >https://repo1.maven.org/maven2/</url >
85+ </repository >
8286 <repository >
8387 <id >jitpack</id >
8488 <url >https://jitpack.io</url >
96100 <id >codemc-repo</id >
97101 <url >https://repo.codemc.org/repository/maven-public/</url >
98102 </repository >
99- <repository >
100- <id >central</id >
101- <url >https://repo1.maven.org/maven2/</url >
102- </repository >
103103 <repository >
104104 <id >placeholderapi</id >
105105 <url >https://repo.extendedclip.com/content/repositories/placeholderapi/</url >
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ private void reSetup() {
139139 jsEngine = GraalJSScriptEngine .create (
140140 null ,
141141 Context .newBuilder ("js" )
142+ .hostClassLoader (ClassLoader .getSystemClassLoader ())
142143 .allowAllAccess (true )
143144 .allowHostAccess (UNIVERSAL_HOST_ACCESS )
144145 .allowNativeAccess (false )
@@ -148,8 +149,7 @@ private void reSetup() {
148149 .allowValueSharing (true )
149150 .allowHostClassLoading (true )
150151 .allowIO (IOAccess .ALL )
151- .allowHostClassLookup (s -> true )
152- .hostClassLoader (ClassLoader .getSystemClassLoader ()));
152+ .allowHostClassLookup (s -> true ));
153153
154154 advancedSetup ();
155155 }
You can’t perform that action at this time.
0 commit comments