Hotfix BauSystem startup

This commit is contained in:
2024-08-06 22:16:36 +02:00
parent 3d36a7b7a3
commit 31ff0e623f
@@ -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);