From 31ff0e623f1e099986fc5706d8328a80aa44869c Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Tue, 6 Aug 2024 22:16:36 +0200 Subject: [PATCH] Hotfix BauSystem startup --- .../BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index ca14ae24..e0e4bb13 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -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);