1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +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.
This commit is contained in:
Spottedleaf 2024-07-11 08:57:31 -07:00
parent eea4ab322d
commit 68cacfe830

View file

@ -9430,6 +9430,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+
+ public void tick() {
+ ++this.currentTick;
+
+ final int sectionShift = ((ChunkSystemServerLevel)this.world).moonrise$getRegionChunkShift();
+
+ final Predicate<Ticket<?>> expireNow = (final Ticket<?> ticket) -> {