forked from SteamWar/SteamWar
Hotfix BauSystem startup
This commit is contained in:
@@ -114,7 +114,7 @@ public class BauSystem extends JavaPlugin implements Listener {
|
||||
.lines()
|
||||
.map(s -> {
|
||||
try {
|
||||
return Class.forName(s);
|
||||
return Class.forName(s, false, BauSystem.class.getClassLoader());
|
||||
} catch (ClassNotFoundException e) {
|
||||
Bukkit.shutdown();
|
||||
throw new SecurityException(e.getMessage(), e);
|
||||
|
||||
Reference in New Issue
Block a user