diff --git a/Spigot-Server-Patches/Asynchronous-chunk-IO-and-loading.patch b/Spigot-Server-Patches/Asynchronous-chunk-IO-and-loading.patch index 5edd11e6e3..575769171b 100644 --- a/Spigot-Server-Patches/Asynchronous-chunk-IO-and-loading.patch +++ b/Spigot-Server-Patches/Asynchronous-chunk-IO-and-loading.patch @@ -218,9 +218,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + private static void asyncChunks() { + ConfigurationSection section; + if (version < 15) { -+ boolean enabled = config.getBoolean("settings.async-chunks", true); + section = config.createSection("settings.async-chunks"); -+ section.set("enable", enabled); + section.set("threads", -1); + } else { + section = config.getConfigurationSection("settings.async-chunks"); @@ -236,9 +234,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + section.set("load-threads", null); + } + section.set("generation", null); ++ section.set("enabled", null); + section.set("thread-per-world-generation", null); + -+ asyncChunks = getBoolean("settings.async-chunks.enable", true); + int threads = getInt("settings.async-chunks.threads", -1); + int cpus = Runtime.getRuntime().availableProcessors(); + if (threads <= 0) { @@ -246,6 +244,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + if (cpus == 1 && !Boolean.getBoolean("Paper.allowAsyncChunksSingleCore")) { + asyncChunks = false; ++ } else { ++ asyncChunks = true; + } + + // Let Shared Host set some limits