Merge pull request #173 from KAMKEEL/codex/fix-profile-saving-and-slot-id-issues

Fix profile login save and clarify async behavior
This commit is contained in:
Kam authored and GitHub committed 2025-07-07 05:59:30 -04:00
commit 5fe36cc0c6
3 files changed
+14 -2

No files matched your search

@@ -4,5 +4,10 @@ import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
public class CustomNPCsThreader {
/**
* Executor used for all asynchronous profile and player data saves.
* It is single-threaded so submitted tasks run sequentially and the
* save order for a given player is preserved.
*/
public static final Executor customNPCThread = Executors.newSingleThreadExecutor();
}