From f920f31a81826fd6cf5b00cb93d30fa866194bda Mon Sep 17 00:00:00 2001 From: Alexander Medvedev <71594357+Snowiiii@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:16:42 +0100 Subject: [PATCH] Fix: Clippy warn upsi --- 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 3a06cfdab..7ca503fd5 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.to_pretty_console())), + CommandSender::Rcon(s) => s.push(text.to_pretty_console()), } }