Fix: Clippy warn
upsi
This commit is contained in:
parent
caa6a7088b
commit
f920f31a81
@ -26,7 +26,7 @@ impl<'a> CommandSender<'a> {
|
|||||||
// TODO: add color and stuff to console
|
// TODO: add color and stuff to console
|
||||||
CommandSender::Console => log::info!("{}", text.to_pretty_console()),
|
CommandSender::Console => log::info!("{}", text.to_pretty_console()),
|
||||||
CommandSender::Player(c) => c.send_system_message(text),
|
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()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user