feat: update rhino 1.7.15 -> 1.8.0

This commit is contained in:
Reider745
2025-01-04 17:20:43 +03:00
parent c69bfc6bb5
commit 28401f9667
2 changed files with 2 additions and 2 deletions
@@ -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);
}