From 37e59401d705cbfa12d3c399204086b32ae3bc48 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 28 Dec 2021 12:20:36 +0100 Subject: [PATCH] Hotfix Teamserver stuff --- .../de/steamwar/schematicsystem/commands/SchematicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index ae6db12..a50facc 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -45,7 +45,7 @@ import static de.steamwar.schematicsystem.commands.SchematicCommandUtils.*; public class SchematicCommand extends SWCommand { public SchematicCommand() { - super("schematic", "/schematic", "schem", "/schem"); + super("/schematic", Bukkit.getPluginManager().getPlugin("Teamserver") == null ? new String[]{"schem", "/schem", "schematic"} : new String[]{"/schem"}); } @Register(help = true)