Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +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