From 7a81625cd44bc65356b3e5889682eeee31f90cf8 Mon Sep 17 00:00:00 2001 From: p2r3 Date: Tue, 2 Sep 2025 00:27:00 +0300 Subject: [PATCH] sync beefdump data to disk --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index bc8c659..8d5625a 100644 --- a/src/main.c +++ b/src/main.c @@ -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;