1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-02 07:35:08 +02:00

sync beefdump data to disk

This commit is contained in:
p2r3
2025-09-02 00:27:00 +03:00
parent 390befe9cf
commit 7a81625cd4

View File

@@ -585,6 +585,9 @@ int main () {
if (block_changes[i].block == B_chest) i += 14;
if (i >= block_changes_count) block_changes_count = i + 1;
}
// Update data on disk
writeBlockChangesToDisk(0, block_changes_count);
writePlayerDataToDisk();
// Kick the client
disconnectClient(&clients[client_index], 7);
continue;