Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
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.
Dieser Commit ist enthalten in:
Ursprung
a594d182e4
Commit
f250ec0a2e
@ -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) -> {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren