Skip to content

Commit

Permalink
Increment ChunkHolderManager current tick
Browse files Browse the repository at this point in the history
This is an oversight from copying from Folia. The current tick
should be incremented so that incremental autosave can properly
occur.
  • Loading branch information
Spottedleaf committed Jul 11, 2024
1 parent e73a244 commit 6ff9aca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,8 @@ public <T> void removeAllTicketsFor(final TicketType<T> ticketType, final int ti
}

public void tick() {
++this.currentTick;

final int sectionShift = ((ChunkSystemServerLevel)this.world).moonrise$getRegionChunkShift();

final Predicate<Ticket<?>> expireNow = (final Ticket<?> ticket) -> {
Expand Down

0 comments on commit 6ff9aca

Please sign in to comment.