Skip to content

Commit

Permalink
Fix: Clippy warn
Browse files Browse the repository at this point in the history
upsi
  • Loading branch information
Snowiiii committed Aug 21, 2024
1 parent caa6a70 commit f920f31
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.to_pretty_console())),
CommandSender::Rcon(s) => s.push(text.to_pretty_console()),
}
}

Expand Down

0 comments on commit f920f31

Please sign in to comment.