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); } }