feat: update rhino 1.7.15 -> 1.8.0
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ dependencies {
|
||||
// https://central.sonatype.com/artifact/com.google.code.gson/gson/versions
|
||||
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
|
||||
// https://central.sonatype.com/artifact/org.mozilla/rhino/versions
|
||||
implementation group: 'org.mozilla', name: 'rhino', version: '1.7.15'
|
||||
implementation group: 'org.mozilla', name: 'rhino', version: '1.8.0'
|
||||
// https://central.sonatype.com/artifact/org.json/json/versions
|
||||
implementation group: 'org.json', name: 'json', version: '20231013'
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ public class ServerHooks {
|
||||
return 'v' + Utils.getVersionByProtocol(ProtocolInfo.v1_16_200);
|
||||
}
|
||||
|
||||
@Inject(type = TypeHook.AFTER, method = "<init>", className = "cn.nukkit.plugin.PluginClassLoader")
|
||||
@Inject(type = TypeHook.AFTER_NOT_REPLACE, method = "<init>", className = "cn.nukkit.plugin.PluginClassLoader")
|
||||
public static void newPluginClassLoader(PluginClassLoader self, JavaPluginLoader loader, ClassLoader parent, File file) {
|
||||
RhinoOverrides.ClassLoaderPool.addClassLoader(self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user