1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Create node metadata when placing nodes again

This commit is contained in:
Kahrl
2012-01-22 00:53:21 +01:00
committed by Perttu Ahola
parent b4dd5d3bd7
commit 02b334a679

View File

@@ -1010,6 +1010,8 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n,
if(!meta){ if(!meta){
errorstream<<"Failed to create node metadata \"" errorstream<<"Failed to create node metadata \""
<<metadata_name<<"\""<<std::endl; <<metadata_name<<"\""<<std::endl;
} else {
setNodeMetadata(p, meta);
} }
} }