1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 04:35:20 +01:00

Send to clients node metadata that changed to become empty (#11597)

This commit is contained in:
Jude Melton-Houghton
2021-09-10 17:16:34 -04:00
committed by GitHub
parent 2cefe51d3b
commit 7423c4c11e
3 changed files with 5 additions and 5 deletions

View File

@@ -2320,7 +2320,7 @@ void Server::sendMetadataChanged(const std::list<v3s16> &meta_updates, float far
// Send the meta changes
std::ostringstream os(std::ios::binary);
meta_updates_list.serialize(os, client->net_proto_version, false, true);
meta_updates_list.serialize(os, client->serialization_version, false, true, true);
std::ostringstream oss(std::ios::binary);
compressZlib(os.str(), oss);