mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Clean up and compress some pre-join packets (#15881)
This commit is contained in:
parent
287880aa27
commit
afb15978d9
12 changed files with 260 additions and 102 deletions
|
@ -35,6 +35,6 @@ unittests.register("test_protocol_version", function(player)
|
|||
|
||||
-- The protocol version the client and server agreed on must exist in the table.
|
||||
local match = table.key_value_swap(core.protocol_versions)[info.protocol_version]
|
||||
assert(match ~= nil)
|
||||
print(string.format("client proto matched: %s sent: %s", match, info.version_string))
|
||||
assert(match ~= nil)
|
||||
end, {player = true})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue