mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix chat-cli
Former-commit-id: fe8f13dfb217c6feab78c4d473c9ef59634168f3
This commit is contained in:
parent
06693136b6
commit
8b2ed89982
@ -18,9 +18,11 @@ fn main() {
|
||||
let mut clock = Clock::new();
|
||||
|
||||
// Create client
|
||||
let mut client = Client::new(([127, 0, 0, 1], 59003), comp::Player::new("test".to_string()), 300)
|
||||
let mut client = Client::new(([127, 0, 0, 1], 59003), 300)
|
||||
.expect("Failed to create client instance");
|
||||
|
||||
client.register(comp::Player::new("test".to_string()));
|
||||
|
||||
client.send_chat("Hello!".to_string());
|
||||
|
||||
loop {
|
||||
|
Loading…
Reference in New Issue
Block a user