mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Renamed ProtocolRule to ProtocolFormat
This commit is contained in:
parent
304b8340d2
commit
dc0926bab7
4 changed files with 6 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ impl LegacyBV1_8 {
|
|||
let mut pos = 0;
|
||||
|
||||
if get_u8(&buf, &mut pos)? != 0xFF {
|
||||
return Err(GDError::ProtocolRule("Expected 0xFF at the begin of the packet."));
|
||||
return Err(GDError::ProtocolFormat("Expected 0xFF at the begin of the packet."));
|
||||
}
|
||||
|
||||
let length = get_u16_be(&buf, &mut pos)? * 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue