Skip to content

Commit

Permalink
docs: remove a finished TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Oct 13, 2024
1 parent bee9b89 commit b535236
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public KickCommand() {
@Override
public void prepareCommandTree(CommandTree tree) {
tree.getRoot()
// TODO: Should use target(), but target() can only match players in default world
// TODO: Should use target(), but target() can only match players in sender's world
.str("player")
.str("reason", "You are kicked")
.optional()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public CommandResult parse(CommandSender sender, String[] args) {
protected CommandResult parse0(CommandNode node, CommandContext context) {
if (node.isLeaf()) {
if (context.haveUnhandledArg()) {
// TODO
context.addSyntaxError();
return context.fail();
}
Expand Down

0 comments on commit b535236

Please sign in to comment.