Skip to content

Commit

Permalink
Fix bad MultiLiteralArgument breaking commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobody314159 committed May 12, 2024
1 parent b820ff5 commit d789eff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import dev.jorel.commandapi.arguments.IntegerArgument;
import dev.jorel.commandapi.arguments.LiteralArgument;
import dev.jorel.commandapi.arguments.LocationArgument;
import dev.jorel.commandapi.arguments.MultiLiteralArgument;
import dev.jorel.commandapi.arguments.ScoreHolderArgument;
import dev.jorel.commandapi.arguments.StringArgument;
import dev.jorel.commandapi.exceptions.WrapperCommandSyntaxException;
Expand Down Expand Up @@ -272,7 +271,7 @@ public static void registerWriteAccessCommands() {
/* los add */
new CommandAPICommand(COMMAND)
.withPermission(CommandPermission.fromString("los.add"))
.withArguments(new MultiLiteralArgument("add"))
.withArguments(new LiteralArgument("add"))
.executes((sender, args) -> {
Player player = getPlayer(sender);
BookOfSouls bos = getBos(player);
Expand Down

0 comments on commit d789eff

Please sign in to comment.