mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
@@ -4,7 +4,7 @@ plugins {
|
||||
id("xyz.jpenilla.run-paper")
|
||||
}
|
||||
|
||||
version = "3.0.5"
|
||||
version = "3.0.6"
|
||||
|
||||
dependencies {
|
||||
paperweight {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user