Implement chunk unload delay config option

Fixes https://github.com/PaperMC/Paper/issues/12056
This commit is contained in:
Spottedleaf
2025-06-20 21:07:21 -07:00
parent c77d5f99f9
commit 219f86ee06
4 changed files with 43 additions and 22 deletions

View File

@ -1,6 +1,6 @@
--- /dev/null
+++ b/io/papermc/paper/FeatureHooks.java
@@ -1,0 +_,238 @@
@@ -1,0 +_,241 @@
+package io.papermc.paper;
+
+import io.papermc.paper.command.PaperSubcommand;
@ -33,6 +33,9 @@
+
+public final class FeatureHooks {
+
+ public static void setPlayerChunkUnloadDelay(final long ticks) {
+ }
+
+ public static void initChunkTaskScheduler(final boolean useParallelGen) {
+ }
+