Describe the bug
Server side of the game hangs while saving, causing substantial lag.
To Reproduce
Steps to reproduce the behavior:
Play the game either singleplayer or server
Watch how every so often waila says waiting for server
Mod version
A&D 3.6
Debug stuff
This is a spark logging only tick over 5 seconds. SaveFormat$LevelSave.func_237288a() takes 14 seconds to complete.
https://spark.lucko.me/kUkfLZXfm3
Describe the bug Server side of the game hangs while saving, causing substantial lag.
To Reproduce Steps to reproduce the behavior:
Mod version A&D 3.6
Debug stuff This is a spark logging only tick over 5 seconds. SaveFormat$LevelSave.func_237288a() takes 14 seconds to complete. https://spark.lucko.me/kUkfLZXfm3
This is a vanilla debug file running for only 17 seconds while this save function is running. profile-results-2021-08-25_23.42.11.txt