Fix players not being serialized
This commit is contained in:
parent
8a279f425a
commit
e5a289ea73
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mcquery"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "Query Minecraft servers with Rust"
|
||||
authors = ["EliasSchriefer <elischriefer@gmail.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
@ -397,7 +397,7 @@ impl FullQueryRequest {
|
||||
.take_while(|b| **b != 0x00)
|
||||
.map(|&b| b)
|
||||
.collect();
|
||||
response_buffer.drain(0..player.len());
|
||||
response_buffer.drain(0..player.len() + 1);
|
||||
if player.len() == 0 {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user