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) -> {