Skip to content
Permalink
Browse files
Fix broken handling of NodemetaChanged packets
fixes #11610
  • Loading branch information
sfan5 committed Sep 12, 2021
1 parent 75bf9b7 commit b480a3e9fd7036208068c4fad410f0cae8fc9c4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/network/clientpackethandler.cpp
@@ -261,7 +261,7 @@ void Client::handleCommand_NodemetaChanged(NetworkPacket *pkt)
return;

std::istringstream is(pkt->readLongString(), std::ios::binary);
std::stringstream sstr(std::ios::binary);
std::stringstream sstr(std::ios::binary | std::ios::in | std::ios::out);
decompressZlib(is, sstr);

NodeMetadataList meta_updates_list(false);

0 comments on commit b480a3e

Please sign in to comment.