Fix broken handling of NodemetaChanged packets

fixes #11610
This commit is contained in:
sfan5 2021-09-12 14:35:52 +02:00
parent 75bf9b75ca
commit b480a3e9fd

@ -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);