Increment ChunkHolderManager current tick
This is an oversight from copying from Folia. The current tick should be incremented so that incremental autosave can properly occur.
This commit is contained in:
parent
a594d182e4
commit
f250ec0a2e
1 changed files with 4 additions and 2 deletions
|
@ -8714,10 +8714,10 @@ index 0000000000000000000000000000000000000000..7eafc5b7cba23d8dec92ecc1050afe3f
|
|||
\ No newline at end of file
|
||||
diff --git a/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/scheduling/ChunkHolderManager.java b/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/scheduling/ChunkHolderManager.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..3d902f382977a194e09986419391c3ca1568885c
|
||||
index 0000000000000000000000000000000000000000..1030e1b059f7ccdedd9c00527c3dd20c9cb81f42
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/scheduling/ChunkHolderManager.java
|
||||
@@ -0,0 +1,1425 @@
|
||||
@@ -0,0 +1,1427 @@
|
||||
+package ca.spottedleaf.moonrise.patches.chunk_system.scheduling;
|
||||
+
|
||||
+import ca.spottedleaf.concurrentutil.executor.standard.PrioritisedExecutor;
|
||||
|
@ -9430,6 +9430,8 @@ index 0000000000000000000000000000000000000000..3d902f382977a194e09986419391c3ca
|
|||
+ }
|
||||
+
|
||||
+ public void tick() {
|
||||
+ ++this.currentTick;
|
||||
+
|
||||
+ final int sectionShift = ((ChunkSystemServerLevel)this.world).moonrise$getRegionChunkShift();
|
||||
+
|
||||
+ final Predicate<Ticket<?>> expireNow = (final Ticket<?> ticket) -> {
|
||||
|
|
Loading…
Reference in a new issue