mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 12:45:29 +01:00
Clean up some packet-related code
This commit is contained in:
@@ -561,7 +561,7 @@ void MapNode::serialize(u8 *dest, u8 version) const
|
||||
writeU8(dest+2, param1);
|
||||
writeU8(dest+3, param2);
|
||||
}
|
||||
void MapNode::deSerialize(u8 *source, u8 version)
|
||||
void MapNode::deSerialize(const u8 *source, u8 version)
|
||||
{
|
||||
if (!ser_ver_supported_read(version))
|
||||
throw VersionMismatchException("ERROR: MapNode format not supported");
|
||||
|
||||
Reference in New Issue
Block a user