mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 15:12:23 +01:00
Create node metadata when placing nodes again
This commit is contained in:
parent
b4dd5d3bd7
commit
02b334a679
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user