Skip to content

Commit

Permalink
fix: remove incorrect command suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmarik committed Jul 1, 2023
1 parent 0958fb4 commit 8f3dba2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void register(CommandDispatcher<ServerCommandSource> dispatcher) {
literal("trait").requires(source -> source.hasPermissionLevel(2))
.then(literal("add")
.then(argument("players", EntityArgumentType.players())
.then(argument("trait", StringArgumentType.word()).suggests(SuggestionProviders.ALL_RECIPES)
.then(argument("trait", StringArgumentType.word())
.executes(TraitCommand::addTrait))))
.then(literal("remove")
.then(argument("players", EntityArgumentType.players())
Expand Down

0 comments on commit 8f3dba2

Please sign in to comment.