Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@
+ final long ticksBehind = Math.max(1L, this.tickSchedule.getPeriodsAhead(thisTickNanos, tickStart));
+ final long catchup = (long)Math.max(
+ 1,
+ 5 //ConfigHolder.getConfig().tickLoop.catchupTicks.getOrDefault(MoonriseConfig.TickLoop.DEFAULT_CATCHUP_TICKS).intValue()
+ io.papermc.paper.configuration.GlobalConfiguration.get().misc.catchupTicks.or(5)
+ );
+
+ // adjust ticksBehind so that it is not greater-than catchup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ private void postProcess() {
}
}
public int maxJoinsPerTick = 5;
@Constraints.Min(0)
public IntOr.Default catchupTicks = IntOr.Default.USE_DEFAULT;
public boolean sendFullPosForItemEntities = false;
public boolean loadPermissionsYmlBeforePlugins = true;
@Constraints.Min(4)
Expand Down
Loading