mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
sync beefdump data to disk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user