aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch
diff options
context:
space:
mode:
authorAikar <[email protected]>2021-04-15 20:47:34 -0400
committerAikar <[email protected]>2021-04-15 20:47:34 -0400
commita08be1ec7cfe9a7aa134a073382407c53264fcba (patch)
treebceea4d394d2b45ab437669449a27d1bb34318a9 /Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch
parent606cdac609441c2234ca30f0abb99eb98521a4c0 (diff)
downloadPaper-a08be1ec7cfe9a7aa134a073382407c53264fcba.tar.gz
Paper-a08be1ec7cfe9a7aa134a073382407c53264fcba.zip
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: 9294ebbf0 SPIGOT-5877: Add support for Vanilla custom dimensions
Diffstat (limited to 'Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch')
-rw-r--r--Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch b/Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch
index a02a09f292..be91c01cde 100644
--- a/Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch
+++ b/Spigot-Server-Patches/0307-Optimize-World-Time-Updates.patch
@@ -8,10 +8,10 @@ the updates per world, so that we can re-use the same packet
object for every player unless they have per-player time enabled.
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
-index 021adb8a6b8c9e05c03391d0f8edfa71b3c0c246..dd207a5138c4933c281255f4135f42b8fb0351d2 100644
+index 4cb57914db19d6024501f2b75361c3d8acdd4149..7dee17e52a5b23ba4d8089482b39215041a64579 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
-@@ -1305,12 +1305,24 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
+@@ -1315,12 +1315,24 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
MinecraftTimings.timeUpdateTimer.startTiming(); // Spigot // Paper
// Send time updates to everyone, it will get the right time from the world the player is in.