mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 01:17:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@a15152e Allow old behavior for CommandRegisteredEvent (#8249) PaperMC/Paper@0118c0b Improve MojangAPI docs and replace @Deprecated with @ApiStatus.Experimental on draft APIs (#8261) PaperMC/Paper@3624637 Improve documentation of Inventory#removeItem (#8263) PaperMC/Paper@a47301e Fix Player#chat kicking all clients (#8262) PaperMC/Paper@78b19f8 Separate Command Sending to Separate Thread Pool (#8170)
This commit is contained in:
@@ -6,7 +6,7 @@ Subject: [PATCH] Cache server motd
|
||||
Paper ported my patch in an odd way. Keeping my patch around to reduce logic on the motd getter
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index 06a17bcd8ecfba67866548a71b46e7cf66b29527..6f13001b2ffa6a54aa6cc182084159215a67b31d 100644
|
||||
index 100460d26fbb645a138f1883335ce7838b243a19..1c77d96f51e32fff7907f372f2303266cb6d0c77 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -234,7 +234,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
|
||||
@@ -18,7 +18,7 @@ index 06a17bcd8ecfba67866548a71b46e7cf66b29527..6f13001b2ffa6a54aa6cc18208415921
|
||||
private int playerIdleTimeout;
|
||||
public final long[] tickTimes;
|
||||
// Paper start
|
||||
@@ -1885,17 +1885,12 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
|
||||
@@ -1886,17 +1886,12 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
|
||||
}
|
||||
|
||||
public net.kyori.adventure.text.Component getComponentMotd() {
|
||||
|
||||
Reference in New Issue
Block a user