Merge pull request #390 from CivMC/tag

ertyeghzsehyen edgz
This commit is contained in:
okx-code
2024-03-26 01:36:26 +00:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ plugins {
id("xyz.jpenilla.run-paper")
}
version = "3.0.5"
version = "3.0.6"
dependencies {
paperweight {

View File

@@ -194,7 +194,12 @@ public class WorldChunkMetaManager {
private void registerRegularSaveRunnable() {
scheduler.scheduleWithFixedDelay(() -> {
saveAllChunks();
try {
CHUNK_META_LOGGER.debug("World " + worldID + ": Saving all chunks");
saveAllChunks();
} catch (RuntimeException ex) {
ex.printStackTrace();
}
}, REGULAR_SAVE_INTERVAL, REGULAR_SAVE_INTERVAL, TimeUnit.MILLISECONDS);
}