Clean m_nameMap between blocks
Each block embeds it own content id <=> name mapping. Keeping values accross blocks could mask corrupted ones.
This commit is contained in:
parent
09945caa14
commit
86ea456127
|
@ -441,6 +441,7 @@ void TileGenerator::renderMap()
|
||||||
|
|
||||||
m_blockAirId = -1;
|
m_blockAirId = -1;
|
||||||
m_blockIgnoreId = -1;
|
m_blockIgnoreId = -1;
|
||||||
|
m_nameMap.clear();
|
||||||
// Read mapping
|
// Read mapping
|
||||||
if (version >= 22) {
|
if (version >= 22) {
|
||||||
dataOffset++; // mapping version
|
dataOffset++; // mapping version
|
||||||
|
|
Loading…
Reference in New Issue