unset data_modified once save command is issued

This commit is contained in:
griffi-gh 2024-09-03 15:48:10 +02:00
parent 884551089c
commit 63e26e3a5b

View file

@ -295,6 +295,7 @@ fn process_state_changes(
// Only save the chunk if it has been modified
if chunk.data_modified {
// log::debug!("issue save command");
chunk.data_modified = false;
io.send(IOCommand::SaveChunk {
position,
data: block_data.blocks.clone(),