9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00

minecart_improvements Fix minecart tracker data race

This commit is contained in:
hayanesuru
2025-05-08 18:35:01 +09:00
parent f0ff93a1ce
commit 0e3028fceb
2 changed files with 27 additions and 1 deletions

View File

@@ -78,8 +78,8 @@ public class MultithreadedTracker {
// Don't Parallel Tick Tracker of Entity
synchronized (tracker.sync) {
tracker.moonrise$tick(nearbyPlayers.getChunk(entity.chunkPosition()));
tracker.serverEntity.sendChanges();
}
tracker.serverEntity.sendChanges();
}
});
}