mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Added uranium server support to DependencyManager (#464)
This commit is contained in:
parent
81cf50520b
commit
368700156c
@ -137,7 +137,7 @@ public class DependencyManager {
|
|||||||
private static void loadJar(LuckPermsPlugin plugin, File file) throws Exception {
|
private static void loadJar(LuckPermsPlugin plugin, File file) throws Exception {
|
||||||
URLClassLoader classLoader = (URLClassLoader) plugin.getClass().getClassLoader();
|
URLClassLoader classLoader = (URLClassLoader) plugin.getClass().getClassLoader();
|
||||||
|
|
||||||
if (plugin.getServerType() != PlatformType.SPONGE && !plugin.getServerName().equals("KCauldron")) {
|
if (plugin.getServerType() != PlatformType.SPONGE && !plugin.getServerName().equals("KCauldron") && !plugin.getServerName().equals("Uranium")) {
|
||||||
classLoader = (URLClassLoader) classLoader.getParent();
|
classLoader = (URLClassLoader) classLoader.getParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user