mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add reason parameter to setModified and print it out to verbosestream when saving block
This commit is contained in:
@@ -1478,7 +1478,7 @@ void add_random_objects(MapBlock *block)
|
||||
last_node_walkable = false;
|
||||
}
|
||||
}
|
||||
block->setChangedFlag();
|
||||
block->raiseModified(MOD_STATE_WRITE_NEEDED, "mapgen::add_random_objects");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user