Skip to content

Commit

Permalink
Fixed /tellraw being registered as /message
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro270707 committed Jan 20, 2024
1 parent 0227732 commit 408c878
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public class TellRawCommand {
public static void register(CommandDispatcher<CommanderCommandSource> dispatcher) {
dispatcher.register(LiteralArgumentBuilder.<CommanderCommandSource>literal("message")
dispatcher.register(LiteralArgumentBuilder.<CommanderCommandSource>literal("tellraw")
.requires(CommanderCommandSource::hasAdmin)
.then(RequiredArgumentBuilder.<CommanderCommandSource, EntitySelector>argument("targets", EntityArgumentType.players())
.then(RequiredArgumentBuilder.<CommanderCommandSource, String>argument("message", StringArgumentType.greedyString())
Expand Down

0 comments on commit 408c878

Please sign in to comment.