Do not serialize empty NodeMetadata
authorsfan5 <sfan5@live.de>
Mon, 19 Sep 2016 18:06:39 +0000 (20:06 +0200)
committersfan5 <sfan5@live.de>
Wed, 21 Sep 2016 08:29:17 +0000 (10:29 +0200)
commit3a57e525009ade2aa039b0bab33e4b10eda36bf4
tree477bf35d1819526db19f981330241a692c04cff3
parent5091cb5ecdac39a49bce2317d7054d69ed43f2c1
Do not serialize empty NodeMetadata

This commit fixes #4516, though note that this will gradually fix MapBlocks
as they are used/modified and thus re-serialized.
src/nodemetadata.cpp
src/nodemetadata.h