mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07: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:
@@ -9430,6 +9430,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public void tick() {
|
+ public void tick() {
|
||||||
|
+ ++this.currentTick;
|
||||||
|
+
|
||||||
+ final int sectionShift = ((ChunkSystemServerLevel)this.world).moonrise$getRegionChunkShift();
|
+ final int sectionShift = ((ChunkSystemServerLevel)this.world).moonrise$getRegionChunkShift();
|
||||||
+
|
+
|
||||||
+ final Predicate<Ticket<?>> expireNow = (final Ticket<?> ticket) -> {
|
+ final Predicate<Ticket<?>> expireNow = (final Ticket<?> ticket) -> {
|
||||||
|
Reference in New Issue
Block a user