Skip to content

Commit

Permalink
Don't send broadcasts to the console twice
Browse files Browse the repository at this point in the history
Fixes #129
  • Loading branch information
kennytv committed Sep 13, 2024
1 parent c0b9919 commit dcb5f64
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,7 @@ protected void executeConsoleCommand(final String command) {

@Override
public void broadcast(final Component component) {
final net.kyori.adventure.text.Component message = ComponentUtil.toVelocity(component);
server.getConsoleCommandSource().sendMessage(message);
server.sendMessage(message);
server.sendMessage(ComponentUtil.toVelocity(component));
}

@Override
Expand Down

0 comments on commit dcb5f64

Please sign in to comment.