Skip to content

Commit

Permalink
i hate merging
Browse files Browse the repository at this point in the history
  • Loading branch information
sovdeeth committed Sep 3, 2024
1 parent 4a2efda commit c9634b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9634b9

Please sign in to comment.