Added uranium server support to DependencyManager (#464)

This commit is contained in:
Frank Zhang authored and Luck committed 2017-09-08 14:25:49 +01:00
1 parent 81cf50520b
commit 368700156c
1 file changed
+1 -1
@@ -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();
}