mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-12 04:05:26 +01: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