From ea929e06157af95dc0afc02d0a96de2f7270dc43 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 25 Aug 2024 08:04:22 +0200 Subject: [PATCH] Hotfix Laufbau BoundingBoxLoader --- .../BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 0b1b160c..0d5fa43c 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -25,6 +25,7 @@ import de.steamwar.bausystem.configplayer.ConfigConverter; import de.steamwar.bausystem.features.gui.BauGUI; import de.steamwar.bausystem.features.script.lua.SteamWarLuaPlugin; import de.steamwar.bausystem.features.script.lua.libs.LuaLib; +import de.steamwar.bausystem.features.slaves.laufbau.BoundingBoxLoader; import de.steamwar.bausystem.features.slaves.panzern.Panzern; import de.steamwar.bausystem.features.slaves.panzern.PanzernAlgorithm; import de.steamwar.bausystem.features.tpslimit.TPSFreezeUtils; @@ -184,6 +185,9 @@ public class BauSystem extends JavaPlugin { if (any instanceof ConfigConverter) { Config.addConfigConverter((ConfigConverter) any); } + if (any instanceof BoundingBoxLoader) { + ((BoundingBoxLoader) any).load(); + } }); instances.forEach((clazz, o) -> {