Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Add support for custom class loaders. (#647)
Dieser Commit ist enthalten in:
Ursprung
8ab071badb
Commit
7bd0f9ea14
@ -17,6 +17,8 @@
|
||||
|
||||
package com.velocitypowered.proxy.plugin;
|
||||
|
||||
import com.velocitypowered.proxy.Velocity;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
@ -34,7 +36,7 @@ public class PluginClassLoader extends URLClassLoader {
|
||||
}
|
||||
|
||||
public PluginClassLoader(URL[] urls) {
|
||||
super(urls);
|
||||
super(urls, Velocity.class.getClassLoader());
|
||||
}
|
||||
|
||||
public void addToClassloaders() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren