Skip to content

Commit

Permalink
Also pretty commands for RCON
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Aug 21, 2024
1 parent 13206d5 commit caa6a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl<'a> CommandSender<'a> {
// TODO: add color and stuff to console
CommandSender::Console => log::info!("{}", text.to_pretty_console()),
CommandSender::Player(c) => c.send_system_message(text),
CommandSender::Rcon(s) => s.push(format!("{:?}", text.content)),
CommandSender::Rcon(s) => s.push(format!("{}", text.to_pretty_console())),
}
}

Expand Down

0 comments on commit caa6a70

Please sign in to comment.