Skip to content

Commit

Permalink
Include custom item suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
EsotericEnderman committed Aug 8, 2024
1 parent 8b47e5d commit 11a9a5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public GiveCustomItemCommand(TemplatePaperPlugin plugin) {
public CustomItem apply(CustomArgumentInfo<String> info) throws CustomArgumentException {
return CustomItem.valueOf(info.currentInput());
}
});
}).includeSuggestions(ArgumentSuggestions.strings(customItemNames));

executesPlayer((info) -> {
CustomItem item = (CustomItem) info.args().get(customItemArgumentNodeName);
Expand Down

0 comments on commit 11a9a5e

Please sign in to comment.