diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/other/GamemodeCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/other/GamemodeCommand.java index 8dd49934..18ef3580 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/other/GamemodeCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/other/GamemodeCommand.java @@ -25,7 +25,6 @@ import net.md_5.bungee.api.ChatColor; import org.bukkit.GameMode; import org.bukkit.entity.Player; - @Linked(LinkageType.COMMAND) public class GamemodeCommand extends SWCommand { @@ -33,14 +32,12 @@ public class GamemodeCommand extends SWCommand { super("gamemode", "gm", "g"); } - @Register(help = true) public void help(final Player p, final String... args) { p.sendMessage(ChatColor.RED + "Unbekannter Spielmodus."); p.sendMessage(ChatColor.RED + "Mögliche Spielmodi: survival, adventure, creative, specator."); } - @Register public void genericCommand(final Player p) { if (p.getGameMode() == GameMode.CREATIVE) { @@ -50,7 +47,6 @@ public class GamemodeCommand extends SWCommand { } } - @Register public void gamemodeCommand(final Player p, final GameMode gameMode) { p.setGameMode(gameMode);