Apply watchdoge patches

This commit is contained in:
Jason Penilla
2024-10-25 18:13:48 -07:00
parent d6cb65cd0f
commit cfaa6f33b8
4 changed files with 350 additions and 354 deletions

View File

@@ -772,10 +772,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
} finally {
this.waitingForNextTick = false;
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
}
public void tickServer(BooleanSupplier shouldKeepTicking) {
- org.spigotmc.WatchdogThread.tick(); // Spigot
org.spigotmc.WatchdogThread.tick(); // Spigot
+ co.aikar.timings.TimingsManager.FULL_SERVER_TICK.startTiming(); // Paper
long i = Util.getNanos();
int j = this.pauseWhileEmptySeconds() * 20;