Skip to content

Commit 99c1bec

Browse files
Update TardisCommandNode.java
1 parent a4738bd commit 99c1bec

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/me/eccentric_nz/TARDIS/brigadier/TardisCommandNode.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -831,14 +831,6 @@ LiteralCommandNode<CommandSourceStack> build() {
831831
}
832832
return Command.SINGLE_SUCCESS;
833833
})
834-
.then(Commands.literal("blocks")
835-
.executes(ctx -> {
836-
Pair<Player, Integer> c = TardisUtility.check(plugin, ctx.getSource().getSender(), TardisCommand.update);
837-
if (c != null) {
838-
new UpdateBlocksCommand(plugin).convert(c.getFirst());
839-
}
840-
return Command.SINGLE_SUCCESS;
841-
}))
842834
.then(Commands.literal("blocks")
843835
.executes(ctx -> {
844836
Pair<Player, Integer> c = TardisUtility.check(plugin, ctx.getSource().getSender(), TardisCommand.update);

0 commit comments

Comments
 (0)