mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added VD argument to chat-cli
Former-commit-id: 5feffb0877c531742a1a440bd5f9f2297098ff56
This commit is contained in:
parent
3508e4afcb
commit
c40aaab69b
@ -16,9 +16,9 @@ fn main() {
|
||||
|
||||
// Create a client.
|
||||
let mut client =
|
||||
Client::new(([127, 0, 0, 1], 59003), 300).expect("Failed to create client instance");
|
||||
Client::new(([127, 0, 0, 1], 59003), None).expect("Failed to create client instance");
|
||||
|
||||
client.register(comp::Player::new("test".to_string()));
|
||||
client.register(comp::Player::new("test".to_string(), None));
|
||||
|
||||
client.send_chat("Hello!".to_string());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user