From caa6a7088b0fa17dbb2525b7574989d203f6f72b Mon Sep 17 00:00:00 2001 From: Alexander Medvedev <71594357+Snowiiii@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:12:14 +0100 Subject: [PATCH] Also pretty commands for RCON --- pumpkin/src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpkin/src/commands/mod.rs b/pumpkin/src/commands/mod.rs index 8eea87a11..3a06cfdab 100644 --- a/pumpkin/src/commands/mod.rs +++ b/pumpkin/src/commands/mod.rs @@ -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())), } }