From 1000276dfb52152cb36594b296910c6d35b2b1ae Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 3 May 2021 19:56:52 +0200 Subject: [PATCH] Add BauSystem.message --- BauSystem_Main/src/BauSystem.properties | 0 BauSystem_Main/src/BauSystem_en.properties | 0 BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 6 ++++++ 3 files changed, 6 insertions(+) create mode 100644 BauSystem_Main/src/BauSystem.properties create mode 100644 BauSystem_Main/src/BauSystem_en.properties diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties new file mode 100644 index 00000000..e69de29b diff --git a/BauSystem_Main/src/BauSystem_en.properties b/BauSystem_Main/src/BauSystem_en.properties new file mode 100644 index 00000000..e69de29b diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index f520f227..714a1b06 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -24,6 +24,7 @@ import de.steamwar.bausystem.linkage.LinkageUtils; import de.steamwar.bausystem.region.loader.PrototypeLoader; import de.steamwar.bausystem.region.loader.RegionLoader; import de.steamwar.bausystem.region.loader.Updater; +import de.steamwar.message.Message; import lombok.Getter; import org.bukkit.Bukkit; import org.bukkit.event.Listener; @@ -36,6 +37,9 @@ import java.util.logging.Level; public class BauSystem extends JavaPlugin implements Listener { + @Getter + private static Message message; + @Getter private static BauSystem instance; @@ -46,6 +50,8 @@ public class BauSystem extends JavaPlugin implements Listener { // LOGGER fixLogging(); + message = new Message("BauSystem", getClassLoader()); + instance = this; SWUtils.setBausystem(instance);