From 429d4eba847a1587667f0a5c5bf3b7408c35392a Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 20 Mar 2023 22:48:54 +0100 Subject: [PATCH] Hotfix Message dinger --- .../schematiccommand/SchematicCommand.java | 1 - .../SchematicCommandInitializer.java | 15 ++++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java index 0897ec4..2326777 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java @@ -39,7 +39,6 @@ public class SchematicCommand extends SWCommand { public SchematicCommand() { super("schematic", Bukkit.getPluginManager().getPlugin("Teamserver") == null ? new String[] {"schem", "/schem", "/schematic"} : new String[]{"schem"}); - setMessage(SchematicSystem.MESSAGE); } @Register("help") diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommandInitializer.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommandInitializer.java index 93c3cff..7245ead 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommandInitializer.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommandInitializer.java @@ -19,17 +19,18 @@ package de.steamwar.schematicsystem.commands.schematiccommand; +import de.steamwar.schematicsystem.SchematicSystem; import de.steamwar.schematicsystem.commands.schematiccommand.parts.*; public class SchematicCommandInitializer { public static void init() { - new SchematicCommand(); - new CheckPart(); - new MemberPart(); - new ModifyPart(); - new SavePart(); - new SearchPart(); - new ViewPart(); + new SchematicCommand().setMessage(SchematicSystem.MESSAGE); + new CheckPart().setMessage(SchematicSystem.MESSAGE); + new MemberPart().setMessage(SchematicSystem.MESSAGE); + new ModifyPart().setMessage(SchematicSystem.MESSAGE); + new SavePart().setMessage(SchematicSystem.MESSAGE); + new SearchPart().setMessage(SchematicSystem.MESSAGE); + new ViewPart().setMessage(SchematicSystem.MESSAGE); } }