mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 01:47:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: cffe4c07 Scheduling an async task timer creates a non-repeating task (#3543) e224f0bd Fix issues with SIGTERM not shutting down gracefully - Fixes #3062 c7112d06 Ensure chunk gen tasks return to main thread before completing futures
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 8362bf9a2f36566f70e53c7574dc5e1d36658eb2 Mon Sep 17 00:00:00 2001
|
||||
From ac18ff5c4486e7622546829a55e3dc884de1c07e Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Thu, 26 Mar 2020 19:06:22 -0500
|
||||
Subject: [PATCH] Configurable TPS Catchup
|
||||
@@ -9,10 +9,10 @@ Subject: [PATCH] Configurable TPS Catchup
|
||||
2 files changed, 12 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index c4f784f3d7..13a3fab573 100644
|
||||
index 9052d4475d..517d7a9006 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -987,6 +987,13 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||
@@ -988,6 +988,13 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||
this.methodProfiler.exitEnter("nextTickWait");
|
||||
this.ac = true;
|
||||
this.ab = Math.max(SystemUtils.getMonotonicMillis() + 50L, this.nextTick);
|
||||
|
||||
Reference in New Issue
Block a user