1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 10:52:37 +02:00

Added uranium server support to DependencyManager (#464)

This commit is contained in:
Frank Zhang
2017-09-08 21:25:49 +08:00
committed by Luck
parent 81cf50520b
commit 368700156c

View File

@@ -137,7 +137,7 @@ public class DependencyManager {
private static void loadJar(LuckPermsPlugin plugin, File file) throws Exception {
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();
}