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