diff --git a/src/main/java/org/skriptlang/skript/commands/api/ScriptCommand.java b/src/main/java/org/skriptlang/skript/commands/api/ScriptCommand.java index d68c1a5d43a..b7367dde8c1 100644 --- a/src/main/java/org/skriptlang/skript/commands/api/ScriptCommand.java +++ b/src/main/java/org/skriptlang/skript/commands/api/ScriptCommand.java @@ -76,7 +76,7 @@ public ScriptCommand( ) { this.label = label.toLowerCase(Locale.ENGLISH); this.description = Utils.replaceEnglishChatStyles(description); - this.usage = usage + this.usage = usage; if (namespace != null) { for (char c : namespace.toCharArray()) { diff --git a/src/main/java/org/skriptlang/skript/commands/bukkit/BukkitCommandHandler.java b/src/main/java/org/skriptlang/skript/commands/bukkit/BukkitCommandHandler.java index ad403acadb4..82e139bbd8a 100644 --- a/src/main/java/org/skriptlang/skript/commands/bukkit/BukkitCommandHandler.java +++ b/src/main/java/org/skriptlang/skript/commands/bukkit/BukkitCommandHandler.java @@ -75,7 +75,7 @@ public boolean registerCommand(ScriptCommand scriptCommand) { command.setAliases(scriptCommand.getAliases()); command.setDescription(scriptCommand.getDescription()); - command.setUsage(scriptCommand.getUsage()); + command.setUsage(scriptCommand.getUsage().getUsage()); command.setExecutor(new TabExecutor() { @Override diff --git a/src/main/java/org/skriptlang/skript/commands/elements/StructCommand.java b/src/main/java/org/skriptlang/skript/commands/elements/StructCommand.java index 7ce7fa1140b..89eb25701b7 100644 --- a/src/main/java/org/skriptlang/skript/commands/elements/StructCommand.java +++ b/src/main/java/org/skriptlang/skript/commands/elements/StructCommand.java @@ -21,7 +21,6 @@ import ch.njol.skript.ScriptLoader; import ch.njol.skript.Skript; import ch.njol.skript.SkriptAPIException; -import ch.njol.skript.bukkitutil.CommandReloader; import ch.njol.skript.classes.ClassInfo; import ch.njol.skript.classes.Parser; import ch.njol.skript.command.CommandUsage;