aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches
diff options
context:
space:
mode:
authorKezz <[email protected]>2021-05-29 23:56:24 +0100
committerGitHub <[email protected]>2021-05-29 15:56:24 -0700
commit9072c349a0733dd04b182237c556a267858de134 (patch)
tree9474987deddf470c32bfa685bac892a057d62ddd /Spigot-Server-Patches
parent525d0e3d3752fa78e7c136a4d4bf13c3278691d9 (diff)
downloadPaper-9072c349a0733dd04b182237c556a267858de134.tar.gz
Paper-9072c349a0733dd04b182237c556a267858de134.zip
Fix broadcast event and add Adventure broadcast (#5477)
Diffstat (limited to 'Spigot-Server-Patches')
-rw-r--r--Spigot-Server-Patches/0010-Adventure.patch30
-rw-r--r--Spigot-Server-Patches/0024-Further-improve-server-tick-loop.patch4
-rw-r--r--Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch4
-rw-r--r--Spigot-Server-Patches/0047-Expose-server-CommandMap.patch4
-rw-r--r--Spigot-Server-Patches/0062-Allow-Reloading-of-Custom-Permissions.patch4
-rw-r--r--Spigot-Server-Patches/0063-Remove-Metadata-on-reload.patch4
-rw-r--r--Spigot-Server-Patches/0108-Add-setting-for-proxy-online-mode-status.patch4
-rw-r--r--Spigot-Server-Patches/0120-Allow-Reloading-of-Command-Aliases.patch4
-rw-r--r--Spigot-Server-Patches/0145-Add-configuration-option-to-prevent-player-names-fro.patch4
-rw-r--r--Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch4
-rw-r--r--Spigot-Server-Patches/0151-Add-UnknownCommandEvent.patch4
-rw-r--r--Spigot-Server-Patches/0152-Basic-PlayerProfile-API.patch4
-rw-r--r--Spigot-Server-Patches/0179-AsyncTabCompleteEvent.patch6
-rw-r--r--Spigot-Server-Patches/0201-getPlayerUniqueId-API.patch4
-rw-r--r--Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch6
-rw-r--r--Spigot-Server-Patches/0298-Add-Velocity-IP-Forwarding-Support.patch4
-rw-r--r--Spigot-Server-Patches/0312-Make-the-default-permission-message-configurable.patch4
-rw-r--r--Spigot-Server-Patches/0348-Fix-CraftServer-isPrimaryThread-and-MinecraftServer-.patch4
-rw-r--r--Spigot-Server-Patches/0380-Expose-the-internal-current-tick.patch4
-rw-r--r--Spigot-Server-Patches/0430-Add-tick-times-API-and-mspt-command.patch4
-rw-r--r--Spigot-Server-Patches/0431-Expose-MinecraftServer-isRunning.patch4
-rw-r--r--Spigot-Server-Patches/0436-Improved-Watchdog-Support.patch4
-rw-r--r--Spigot-Server-Patches/0464-Implement-Mob-Goal-API.patch4
-rw-r--r--Spigot-Server-Patches/0474-Wait-for-Async-Tasks-during-shutdown.patch4
-rw-r--r--Spigot-Server-Patches/0493-Add-Plugin-Tickets-to-API-Chunk-Methods.patch4
-rw-r--r--Spigot-Server-Patches/0523-Allow-delegation-to-vanilla-chunk-gen.patch4
-rw-r--r--Spigot-Server-Patches/0549-Add-setMaxPlayers-API.patch4
-rw-r--r--Spigot-Server-Patches/0589-Add-getOfflinePlayerIfCached-String.patch4
-rw-r--r--Spigot-Server-Patches/0654-Added-Vanilla-Entity-Tags.patch4
-rw-r--r--Spigot-Server-Patches/0672-misc-debugging-dumps.patch4
-rw-r--r--Spigot-Server-Patches/0689-Implement-Keyed-on-World.patch6
-rw-r--r--Spigot-Server-Patches/0730-Add-basic-Datapack-API.patch4
-rw-r--r--Spigot-Server-Patches/0738-Fix-and-optimise-world-force-upgrading.patch6
33 files changed, 85 insertions, 81 deletions
diff --git a/Spigot-Server-Patches/0010-Adventure.patch b/Spigot-Server-Patches/0010-Adventure.patch
index fb7c940022..c30ccc8dd1 100644
--- a/Spigot-Server-Patches/0010-Adventure.patch
+++ b/Spigot-Server-Patches/0010-Adventure.patch
@@ -1683,23 +1683,22 @@ index 7ec93ddd7e7c9dc54e3e4dcfe0d1654c0b0a8536..3f057f0bd23bc1c693c8f04ee8acd662
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153bca9fcd3 100644
+index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2ad09749f3005c3eff143d83580e25910341aa6b 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -562,8 +562,11 @@ public final class CraftServer implements Server {
+@@ -562,8 +562,10 @@ public final class CraftServer implements Server {
}
@Override
+ @Deprecated // Paper start
public int broadcastMessage(String message) {
- return broadcast(message, BROADCAST_CHANNEL_USERS);
-+ this.sendMessage(io.papermc.paper.adventure.PaperAdventure.LEGACY_SECTION_UXRC.deserialize(message));
-+ return this.getOnlinePlayers().size() + 1;
++ return this.broadcast(message, BROADCAST_CHANNEL_USERS);
+ // Paper end
}
public Player getPlayer(final EntityPlayer entity) {
-@@ -1307,7 +1310,15 @@ public final class CraftServer implements Server {
+@@ -1307,7 +1309,15 @@ public final class CraftServer implements Server {
return configuration.getInt("settings.spawn-radius", -1);
}
@@ -1715,7 +1714,7 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
public String getShutdownMessage() {
return configuration.getString("settings.shutdown-message");
}
-@@ -1423,7 +1434,15 @@ public final class CraftServer implements Server {
+@@ -1423,7 +1433,20 @@ public final class CraftServer implements Server {
}
@Override
@@ -1726,12 +1725,17 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
+ }
+
+ @Override
++ public int broadcast(net.kyori.adventure.text.Component message) {
++ return this.broadcast(message, BROADCAST_CHANNEL_USERS);
++ }
++
++ @Override
+ public int broadcast(net.kyori.adventure.text.Component message, String permission) {
+ // Paper end
Set<CommandSender> recipients = new HashSet<>();
for (Permissible permissible : getPluginManager().getPermissionSubscriptions(permission)) {
if (permissible instanceof CommandSender && permissible.hasPermission(permission)) {
-@@ -1431,14 +1450,14 @@ public final class CraftServer implements Server {
+@@ -1431,14 +1454,14 @@ public final class CraftServer implements Server {
}
}
@@ -1748,7 +1752,7 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
for (CommandSender recipient : recipients) {
recipient.sendMessage(message);
-@@ -1664,6 +1683,14 @@ public final class CraftServer implements Server {
+@@ -1664,6 +1687,14 @@ public final class CraftServer implements Server {
return CraftInventoryCreator.INSTANCE.createInventory(owner, type);
}
@@ -1763,7 +1767,7 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
@Override
public Inventory createInventory(InventoryHolder owner, InventoryType type, String title) {
Validate.isTrue(type.isCreatable(), "Cannot open an inventory of type ", type);
-@@ -1676,13 +1703,28 @@ public final class CraftServer implements Server {
+@@ -1676,13 +1707,28 @@ public final class CraftServer implements Server {
return CraftInventoryCreator.INSTANCE.createInventory(owner, size);
}
@@ -1782,17 +1786,17 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
}
+ // Paper start
- @Override
++ @Override
+ public Merchant createMerchant(net.kyori.adventure.text.Component title) {
+ return new org.bukkit.craftbukkit.inventory.CraftMerchantCustom(title == null ? InventoryType.MERCHANT.defaultTitle() : title);
+ }
+ // Paper end
-+ @Override
+ @Override
+ @Deprecated // Paper
public Merchant createMerchant(String title) {
return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title);
}
-@@ -1726,6 +1768,12 @@ public final class CraftServer implements Server {
+@@ -1726,6 +1772,12 @@ public final class CraftServer implements Server {
return Thread.currentThread().equals(console.serverThread) || console.hasStopped() || !org.spigotmc.AsyncCatcher.enabled; // All bets are off if we have shut down (e.g. due to watchdog)
}
@@ -1805,7 +1809,7 @@ index 0c1e12b0b43f949d4ace600b2ccdffe52faab1e6..2c2e87d96f61e7ef88847df70e1c6153
@Override
public String getMotd() {
return console.getMotd();
-@@ -2154,5 +2202,15 @@ public final class CraftServer implements Server {
+@@ -2154,5 +2206,15 @@ public final class CraftServer implements Server {
return null;
}
}
diff --git a/Spigot-Server-Patches/0024-Further-improve-server-tick-loop.patch b/Spigot-Server-Patches/0024-Further-improve-server-tick-loop.patch
index 017f232a79..4ac7537099 100644
--- a/Spigot-Server-Patches/0024-Further-improve-server-tick-loop.patch
+++ b/Spigot-Server-Patches/0024-Further-improve-server-tick-loop.patch
@@ -140,10 +140,10 @@ index c21790b4de698aa6f7fc4dadab64d791cd0562b6..fb0d985b5c977a7c63701484678b7592
GameProfilerTick gameprofilertick = GameProfilerTick.a("Server");
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index a9449a62f678ec6dc5e923c64e89140bb96fb697..d9672aeae53119d2fbc1456cd3071d5c9eb8a730 100644
+index 462633df2af43959fddf5b7a8ec43063abf7b14b..b4b592faaa699b6e62f77ddf57b239c5e15948ff 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2118,6 +2118,17 @@ public final class CraftServer implements Server {
+@@ -2122,6 +2122,17 @@ public final class CraftServer implements Server {
return CraftMagicNumbers.INSTANCE;
}
diff --git a/Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch b/Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch
index c2e01c907d..f0a462da4a 100644
--- a/Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch
+++ b/Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch
@@ -48,10 +48,10 @@ index 5db09e60c2ac1f4cb0da3190e57896ccae7c58a3..865d8efa2d480ae7edc286e3e79f2997
} else if (this.player.getChatFlags() == EnumChatVisibility.SYSTEM) {
// Do nothing, this is coming from a plugin
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index d9672aeae53119d2fbc1456cd3071d5c9eb8a730..69f2ccef0f88d8407ee00d41ac32ebb071b6803f 100644
+index b4b592faaa699b6e62f77ddf57b239c5e15948ff..b7de5049dfd6807de1c84a9454b9097141399660 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -761,6 +761,29 @@ public final class CraftServer implements Server {
+@@ -760,6 +760,29 @@ public final class CraftServer implements Server {
Validate.notNull(commandLine, "CommandLine cannot be null");
org.spigotmc.AsyncCatcher.catchOp("command dispatch"); // Spigot
diff --git a/Spigot-Server-Patches/0047-Expose-server-CommandMap.patch b/Spigot-Server-Patches/0047-Expose-server-CommandMap.patch
index 7033587825..60c4376ef8 100644
--- a/Spigot-Server-Patches/0047-Expose-server-CommandMap.patch
+++ b/Spigot-Server-Patches/0047-Expose-server-CommandMap.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Expose server CommandMap
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 69f2ccef0f88d8407ee00d41ac32ebb071b6803f..bfd78c41757c73736371811aab97ca05a01667c9 100644
+index b7de5049dfd6807de1c84a9454b9097141399660..f78f5e4f2c04b64dff1d2229a137c600f18e7051 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1757,6 +1757,7 @@ public final class CraftServer implements Server {
+@@ -1761,6 +1761,7 @@ public final class CraftServer implements Server {
return helpMap;
}
diff --git a/Spigot-Server-Patches/0062-Allow-Reloading-of-Custom-Permissions.patch b/Spigot-Server-Patches/0062-Allow-Reloading-of-Custom-Permissions.patch
index 6d4d88aa2c..46a0159c74 100644
--- a/Spigot-Server-Patches/0062-Allow-Reloading-of-Custom-Permissions.patch
+++ b/Spigot-Server-Patches/0062-Allow-Reloading-of-Custom-Permissions.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Allow Reloading of Custom Permissions
https://github.com/PaperMC/Paper/issues/49
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index ac10067e924cfbfe0a528cad62293686c0c24562..3f300a4fd661707e386090e5ba3be3ddb9af2d00 100644
+index 6eec60b5739edb8f7278608e525b38bdac15bba8..6d66a899912bfab2ce610fb6fb2dbec87cbb5790 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2249,5 +2249,23 @@ public final class CraftServer implements Server {
+@@ -2253,5 +2253,23 @@ public final class CraftServer implements Server {
}
return this.adventure$audiences;
}
diff --git a/Spigot-Server-Patches/0063-Remove-Metadata-on-reload.patch b/Spigot-Server-Patches/0063-Remove-Metadata-on-reload.patch
index f63e3e0e66..54d6959b3b 100644
--- a/Spigot-Server-Patches/0063-Remove-Metadata-on-reload.patch
+++ b/Spigot-Server-Patches/0063-Remove-Metadata-on-reload.patch
@@ -7,10 +7,10 @@ Metadata is not meant to persist reload as things break badly with non primitive
This will remove metadata on reload so it does not crash everything if a plugin uses it.
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 3f300a4fd661707e386090e5ba3be3ddb9af2d00..16a2c614d58f3604613138210a7ac1be0b00a15c 100644
+index 6d66a899912bfab2ce610fb6fb2dbec87cbb5790..e670f484d454f7c706a0ec92c98087fa1373c492 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -872,8 +872,18 @@ public final class CraftServer implements Server {
+@@ -871,8 +871,18 @@ public final class CraftServer implements Server {
world.paperConfig.init(); // Paper
}
diff --git a/Spigot-Server-Patches/0108-Add-setting-for-proxy-online-mode-status.patch b/Spigot-Server-Patches/0108-Add-setting-for-proxy-online-mode-status.patch
index bbc15de32d..0cec0451f3 100644
--- a/Spigot-Server-Patches/0108-Add-setting-for-proxy-online-mode-status.patch
+++ b/Spigot-Server-Patches/0108-Add-setting-for-proxy-online-mode-status.patch
@@ -66,10 +66,10 @@ index 4ad084e7cea3b341ca0dbaa6e853cfc685a555ff..b9f94f957dd5372c8b02d785204690e4
public synchronized void a(GameProfile gameprofile) { // Paper - synchronize
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 16a2c614d58f3604613138210a7ac1be0b00a15c..e07d5e54e0d606113337913f940e8659ab6e98e7 100644
+index e670f484d454f7c706a0ec92c98087fa1373c492..b392f7703222dbba30cdd81ac83e93da36ec043f 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1512,7 +1512,8 @@ public final class CraftServer implements Server {
+@@ -1516,7 +1516,8 @@ public final class CraftServer implements Server {
// Spigot Start
GameProfile profile = null;
// Only fetch an online UUID in online mode
diff --git a/Spigot-Server-Patches/0120-Allow-Reloading-of-Command-Aliases.patch b/Spigot-Server-Patches/0120-Allow-Reloading-of-Command-Aliases.patch
index 8527396588..24d1829ae5 100644
--- a/Spigot-Server-Patches/0120-Allow-Reloading-of-Command-Aliases.patch
+++ b/Spigot-Server-Patches/0120-Allow-Reloading-of-Command-Aliases.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Allow Reloading of Command Aliases
Reload the aliases stored in commands.yml
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index e07d5e54e0d606113337913f940e8659ab6e98e7..8c8d3c4f8818552843ee93ae39af06d51404af9f 100644
+index b392f7703222dbba30cdd81ac83e93da36ec043f..539577a0378754cbe0942a79140f6d137eb825ed 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2278,5 +2278,24 @@ public final class CraftServer implements Server {
+@@ -2282,5 +2282,24 @@ public final class CraftServer implements Server {
DefaultPermissions.registerCorePermissions();
CraftDefaultPermissions.registerCorePermissions();
}
diff --git a/Spigot-Server-Patches/0145-Add-configuration-option-to-prevent-player-names-fro.patch b/Spigot-Server-Patches/0145-Add-configuration-option-to-prevent-player-names-fro.patch
index c0e778dd62..1d7d21727e 100644
--- a/Spigot-Server-Patches/0145-Add-configuration-option-to-prevent-player-names-fro.patch
+++ b/Spigot-Server-Patches/0145-Add-configuration-option-to-prevent-player-names-fro.patch
@@ -20,10 +20,10 @@ index 4e2f243faa209925dcb7c3ef89df3ed875c5ff78..48319aaf1c525c6fb7bdee5c2f570a0d
+ }
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 8c8d3c4f8818552843ee93ae39af06d51404af9f..c029cf4d930c5bc412b55a567b03bbce41b61bbd 100644
+index 539577a0378754cbe0942a79140f6d137eb825ed..0ed8e95d464cf17dc0355056775a9a375a4e7a86 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2297,5 +2297,10 @@ public final class CraftServer implements Server {
+@@ -2301,5 +2301,10 @@ public final class CraftServer implements Server {
commandMap.registerServerAliases();
return true;
}
diff --git a/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch b/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch
index aa668676df..0209e853f1 100644
--- a/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch
+++ b/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch
@@ -266,7 +266,7 @@ index 67814e3e54ec2be02c4d592c56b60e66d15bedb2..8348dfa43c1f6e07c01024b40f4b3ebc
this.k = new GameProfileBanList(PlayerList.b);
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index c029cf4d930c5bc412b55a567b03bbce41b61bbd..86d069819b97b7fe60acd7f4bdb0c4a67565a31e 100644
+index 0ed8e95d464cf17dc0355056775a9a375a4e7a86..2a05ef7553e3b05d5757e69e69c247e24ba29249 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -46,7 +46,6 @@ import java.util.function.Consumer;
@@ -285,7 +285,7 @@ index c029cf4d930c5bc412b55a567b03bbce41b61bbd..86d069819b97b7fe60acd7f4bdb0c4a6
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.ServerCommand;
import net.minecraft.server.bossevents.BossBattleCustom;
-@@ -1206,9 +1206,13 @@ public final class CraftServer implements Server {
+@@ -1205,9 +1205,13 @@ public final class CraftServer implements Server {
return logger;
}
diff --git a/Spigot-Server-Patches/0151-Add-UnknownCommandEvent.patch b/Spigot-Server-Patches/0151-Add-UnknownCommandEvent.patch
index 886712c6ca..b03b0cc9b6 100644
--- a/Spigot-Server-Patches/0151-Add-UnknownCommandEvent.patch
+++ b/Spigot-Server-Patches/0151-Add-UnknownCommandEvent.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add UnknownCommandEvent
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 86d069819b97b7fe60acd7f4bdb0c4a67565a31e..3194bb89c6bd97d780c3a4789a23ad5a4c43f85d 100644
+index 2a05ef7553e3b05d5757e69e69c247e24ba29249..9e974159476e7a359f59c0cdf5aae1be4422d1c0 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -792,7 +792,13 @@ public final class CraftServer implements Server {
+@@ -791,7 +791,13 @@ public final class CraftServer implements Server {
// Spigot start
if (!org.spigotmc.SpigotConfig.unknownCommandMessage.isEmpty()) {
diff --git a/Spigot-Server-Patches/0152-Basic-PlayerProfile-API.patch b/Spigot-Server-Patches/0152-Basic-PlayerProfile-API.patch
index e60afbcd4d..5a9faa7622 100644
--- a/Spigot-Server-Patches/0152-Basic-PlayerProfile-API.patch
+++ b/Spigot-Server-Patches/0152-Basic-PlayerProfile-API.patch
@@ -517,7 +517,7 @@ index b9f94f957dd5372c8b02d785204690e4ade36a98..692d95c94df85d752a3ddc66e1f2af76
private volatile long c;
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 3194bb89c6bd97d780c3a4789a23ad5a4c43f85d..1ca2900e675c8198f0fa9f5bd98161dec057aa85 100644
+index 9e974159476e7a359f59c0cdf5aae1be4422d1c0..bda96a2f64ae27d53e5a5c6d36ffb5441fee112f 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -224,6 +224,9 @@ import org.yaml.snakeyaml.error.MarkedYAMLException;
@@ -530,7 +530,7 @@ index 3194bb89c6bd97d780c3a4789a23ad5a4c43f85d..1ca2900e675c8198f0fa9f5bd98161de
public final class CraftServer implements Server {
private final String serverName = "Paper"; // Paper
private final String serverVersion;
-@@ -2312,5 +2315,24 @@ public final class CraftServer implements Server {
+@@ -2316,5 +2319,24 @@ public final class CraftServer implements Server {
public boolean suggestPlayerNamesWhenNullTabCompletions() {
return com.destroystokyo.paper.PaperConfig.suggestPlayersWhenNullTabCompletions;
}
diff --git a/Spigot-Server-Patches/0179-AsyncTabCompleteEvent.patch b/Spigot-Server-Patches/0179-AsyncTabCompleteEvent.patch
index 5150399a38..1eefab71c5 100644
--- a/Spigot-Server-Patches/0179-AsyncTabCompleteEvent.patch
+++ b/Spigot-Server-Patches/0179-AsyncTabCompleteEvent.patch
@@ -14,7 +14,7 @@ completion, such as offline players.
Also adds isCommand and getLocation to the sync TabCompleteEvent
diff --git a/src/main/java/net/minecraft/server/network/PlayerConnection.java b/src/main/java/net/minecraft/server/network/PlayerConnection.java
-index 3628965d2a18a367c2357b54b65786fb90c38205..fc624315b156f450c1cbc87a81e9eeff5d31b4c2 100644
+index 301b63db3abc348441c3580a6606b65f550d8a78..1860def3971d1e17429bdde51c2bc336887da233 100644
--- a/src/main/java/net/minecraft/server/network/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/network/PlayerConnection.java
@@ -713,10 +713,10 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -72,10 +72,10 @@ index 3628965d2a18a367c2357b54b65786fb90c38205..fc624315b156f450c1cbc87a81e9eeff
@Override
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 1ca2900e675c8198f0fa9f5bd98161dec057aa85..b37f4e87b9f6461b575ab36cd75943b553c4b0f4 100644
+index bda96a2f64ae27d53e5a5c6d36ffb5441fee112f..3aed540b6359df9940a26901c55f0306743ad085 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1847,7 +1847,7 @@ public final class CraftServer implements Server {
+@@ -1851,7 +1851,7 @@ public final class CraftServer implements Server {
offers = tabCompleteChat(player, message);
}
diff --git a/Spigot-Server-Patches/0201-getPlayerUniqueId-API.patch b/Spigot-Server-Patches/0201-getPlayerUniqueId-API.patch
index 66318acf92..c89810dd72 100644
--- a/Spigot-Server-Patches/0201-getPlayerUniqueId-API.patch
+++ b/Spigot-Server-Patches/0201-getPlayerUniqueId-API.patch
@@ -9,10 +9,10 @@ In Offline Mode, will return an Offline UUID
This is a more performant way to obtain a UUID for a name than loading an OfflinePlayer
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index b37f4e87b9f6461b575ab36cd75943b553c4b0f4..2bdee3fe7ad763a3b15259534796a9f457db7ee6 100644
+index 3aed540b6359df9940a26901c55f0306743ad085..47443fae011fb8cdf18c38e6c4b443b874bd26e4 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1514,6 +1514,25 @@ public final class CraftServer implements Server {
+@@ -1518,6 +1518,25 @@ public final class CraftServer implements Server {
return recipients.size();
}
diff --git a/Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch b/Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch
index 3f8eaaf849..98af37509a 100644
--- a/Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch
+++ b/Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch
@@ -48,10 +48,10 @@ index 5bbd3bb52b76b8b6cdf90c94bcb29f122f31c543..52c0dd4f2779125116d9dcccc2aef7a1
long start = System.nanoTime(), curTime, tickSection = start; // Paper - Further improve server tick loop
lastTick = start - TICK_TIME; // Paper
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 2bdee3fe7ad763a3b15259534796a9f457db7ee6..04e20cb1efb7dd4be13e7c01f86f671bc9924314 100644
+index 47443fae011fb8cdf18c38e6c4b443b874bd26e4..ba982907b97faace89b73365aef1c91dab692ff1 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -810,6 +810,7 @@ public final class CraftServer implements Server {
+@@ -809,6 +809,7 @@ public final class CraftServer implements Server {
@Override
public void reload() {
@@ -59,7 +59,7 @@ index 2bdee3fe7ad763a3b15259534796a9f457db7ee6..04e20cb1efb7dd4be13e7c01f86f671b
reloadCount++;
configuration = YamlConfiguration.loadConfiguration(getConfigFile());
commandsConfiguration = YamlConfiguration.loadConfiguration(getCommandsConfigFile());
-@@ -928,6 +929,7 @@ public final class CraftServer implements Server {
+@@ -927,6 +928,7 @@ public final class CraftServer implements Server {
enablePlugins(PluginLoadOrder.STARTUP);
enablePlugins(PluginLoadOrder.POSTWORLD);
getPluginManager().callEvent(new ServerLoadEvent(ServerLoadEvent.LoadType.RELOAD));
diff --git a/Spigot-Server-Patches/0298-Add-Velocity-IP-Forwarding-Support.patch b/Spigot-Server-Patches/0298-Add-Velocity-IP-Forwarding-Support.patch
index 4a08270944..d09f71796d 100644
--- a/Spigot-Server-Patches/0298-Add-Velocity-IP-Forwarding-Support.patch
+++ b/Spigot-Server-Patches/0298-Add-Velocity-IP-Forwarding-Support.patch
@@ -293,10 +293,10 @@ index 21e70a133278d85ecd65fec36a273ed4faabf6cc..b89a8ee2ea03d00a3d6af63d6e3e0fd6
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index d2e8d50adc49cc00d95f928a65a3c23fff0c4c80..8f472f34e4839c1c6b02b2464d73635085a78544 100644
+index ba982907b97faace89b73365aef1c91dab692ff1..22f9d8c0189293b88353bbe1bcc40dd1d431d458 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -682,7 +682,7 @@ public final class CraftServer implements Server {
+@@ -681,7 +681,7 @@ public final class CraftServer implements Server {
@Override
public long getConnectionThrottle() {
// Spigot Start - Automatically set connection throttle for bungee configurations
diff --git a/Spigot-Server-Patches/0312-Make-the-default-permission-message-configurable.patch b/Spigot-Server-Patches/0312-Make-the-default-permission-message-configurable.patch
index f2cceee9c3..89df9fee73 100644
--- a/Spigot-Server-Patches/0312-Make-the-default-permission-message-configurable.patch
+++ b/Spigot-Server-Patches/0312-Make-the-default-permission-message-configurable.patch
@@ -29,10 +29,10 @@ index 13edb435b3fa65b4980bd7472aa5a5196f4d5b2b..469f78775b03cf363d88e35c69c0dc18
Object val = config.get("settings.save-player-data");
if (val instanceof Boolean) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 63f24b977d11fc2658f8ec23c65029f3baf551f5..d44ff2830b6c74f301108f31432627426ca41b9a 100644
+index 22f9d8c0189293b88353bbe1bcc40dd1d431d458..aff20bc4a4d9834b2555f5fe4fa9c46751eae2ba 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2337,6 +2337,11 @@ public final class CraftServer implements Server {
+@@ -2341,6 +2341,11 @@ public final class CraftServer implements Server {
return com.destroystokyo.paper.PaperConfig.suggestPlayersWhenNullTabCompletions;
}
diff --git a/Spigot-Server-Patches/0348-Fix-CraftServer-isPrimaryThread-and-MinecraftServer-.patch b/Spigot-Server-Patches/0348-Fix-CraftServer-isPrimaryThread-and-MinecraftServer-.patch
index 0f8b18e29e..0e8169316d 100644
--- a/Spigot-Server-Patches/0348-Fix-CraftServer-isPrimaryThread-and-MinecraftServer-.patch
+++ b/Spigot-Server-Patches/0348-Fix-CraftServer-isPrimaryThread-and-MinecraftServer-.patch
@@ -29,10 +29,10 @@ index fa7935cccb450ae5f782fec5ebe27275fe6dd510..5a5e097b131500d7cb9f61ea0f96f900
public boolean isDebugging() {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index d44ff2830b6c74f301108f31432627426ca41b9a..4b9fa3d5133839e3bd26bb28d485928e6f1d6de3 100644
+index aff20bc4a4d9834b2555f5fe4fa9c46751eae2ba..40ed419457982e1dae1605915aeccd10703df57b 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1836,7 +1836,7 @@ public final class CraftServer implements Server {
+@@ -1840,7 +1840,7 @@ public final class CraftServer implements Server {
@Override
public boolean isPrimaryThread() {
diff --git a/Spigot-Server-Patches/0380-Expose-the-internal-current-tick.patch b/Spigot-Server-Patches/0380-Expose-the-internal-current-tick.patch
index 2b495d707f..336ed3d11d 100644
--- a/Spigot-Server-Patches/0380-Expose-the-internal-current-tick.patch
+++ b/Spigot-Server-Patches/0380-Expose-the-internal-current-tick.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Expose the internal current tick
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 4b9fa3d5133839e3bd26bb28d485928e6f1d6de3..363a0b60e65e0edbc7b73c956af56b4607051a41 100644
+index 40ed419457982e1dae1605915aeccd10703df57b..b76da976d8710d9e91b8b00fa3b888adfc791dc3 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2360,5 +2360,10 @@ public final class CraftServer implements Server {
+@@ -2364,5 +2364,10 @@ public final class CraftServer implements Server {
}
return new com.destroystokyo.paper.profile.CraftPlayerProfile(uuid, name);
}
diff --git a/Spigot-Server-Patches/0430-Add-tick-times-API-and-mspt-command.patch b/Spigot-Server-Patches/0430-Add-tick-times-API-and-mspt-command.patch
index 40ffd0397c..bac8ae4a7a 100644
--- a/Spigot-Server-Patches/0430-Add-tick-times-API-and-mspt-command.patch
+++ b/Spigot-Server-Patches/0430-Add-tick-times-API-and-mspt-command.patch
@@ -147,10 +147,10 @@ index 5e6ca8690c5cb312e805798e8483ac701439227b..506edef56ef6012424556f058996dbf6
+ // Paper end
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 363a0b60e65e0edbc7b73c956af56b4607051a41..eddd35b6976eefe56c04803932ae6951d1d120c2 100644
+index b76da976d8710d9e91b8b00fa3b888adfc791dc3..8577451ed4dcba901ca9f74e0ff198ab0336d689 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2198,6 +2198,16 @@ public final class CraftServer implements Server {
+@@ -2202,6 +2202,16 @@ public final class CraftServer implements Server {
net.minecraft.server.MinecraftServer.getServer().tps15.getAverage()
};
}
diff --git a/Spigot-Server-Patches/0431-Expose-MinecraftServer-isRunning.patch b/Spigot-Server-Patches/0431-Expose-MinecraftServer-isRunning.patch
index dbc5d004a4..5bacbd15f7 100644
--- a/Spigot-Server-Patches/0431-Expose-MinecraftServer-isRunning.patch
+++ b/Spigot-Server-Patches/0431-Expose-MinecraftServer-isRunning.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Expose MinecraftServer#isRunning
This allows for plugins to detect if the server is actually turning off in onDisable rather than just plugins reloading.
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index eddd35b6976eefe56c04803932ae6951d1d120c2..d697b1c5e62dce806335f45100bd9d766d12fd19 100644
+index 8577451ed4dcba901ca9f74e0ff198ab0336d689..e11649b838b6c6e8745d3a0c6d093b3cfff0acda 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2375,5 +2375,10 @@ public final class CraftServer implements Server {
+@@ -2379,5 +2379,10 @@ public final class CraftServer implements Server {
public int getCurrentTick() {
return net.minecraft.server.MinecraftServer.currentTick;
}
diff --git a/Spigot-Server-Patches/0436-Improved-Watchdog-Support.patch b/Spigot-Server-Patches/0436-Improved-Watchdog-Support.patch
index f8bf4b302d..bf7f5a6ecd 100644
--- a/Spigot-Server-Patches/0436-Improved-Watchdog-Support.patch
+++ b/Spigot-Server-Patches/0436-Improved-Watchdog-Support.patch
@@ -348,10 +348,10 @@ index cc41dcd85760b57bb8076b37e9a907d1cb4e12c7..efcfc8f0f45901d14ac8fdf8ed7b0bd6
String msg = "Entity threw exception at " + entity.world.getWorld().getName() + ":" + entity.locX() + "," + entity.locY() + "," + entity.locZ();
System.err.println(msg);
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index d697b1c5e62dce806335f45100bd9d766d12fd19..1ec08b8d1f8104dcdfa00bc0c53c26b7796c514d 100644
+index e11649b838b6c6e8745d3a0c6d093b3cfff0acda..63f89916d9982caa99525e01bd0e3f153af74d0f 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1836,7 +1836,7 @@ public final class CraftServer implements Server {
+@@ -1840,7 +1840,7 @@ public final class CraftServer implements Server {
@Override
public boolean isPrimaryThread() {
diff --git a/Spigot-Server-Patches/0464-Implement-Mob-Goal-API.patch b/Spigot-Server-Patches/0464-Implement-Mob-Goal-API.patch
index 2e54315404..3fbd0e0c30 100644
--- a/Spigot-Server-Patches/0464-Implement-Mob-Goal-API.patch
+++ b/Spigot-Server-Patches/0464-Implement-Mob-Goal-API.patch
@@ -1043,10 +1043,10 @@ index 8c8e39d35fb56aa6cf7d456adab01dff5d13a60d..bcf6c924894f49f1c602b83b501f904e
public PathfinderGoalWrapped(int i, PathfinderGoal pathfindergoal) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 7d19942373523f18eb9420d0873f2309895b34d7..cc1316825b639e4b95407922dfa246763db36a9a 100644
+index f6e2e54b5a1b8c2df41a0593fa15112c5195c49c..aa5efc9225bb58f9290b9aefcb5ef171c7a88e7d 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2387,5 +2387,11 @@ public final class CraftServer implements Server {
+@@ -2391,5 +2391,11 @@ public final class CraftServer implements Server {
public boolean isStopping() {
return net.minecraft.server.MinecraftServer.getServer().hasStopped();
}
diff --git a/Spigot-Server-Patches/0474-Wait-for-Async-Tasks-during-shutdown.patch b/Spigot-Server-Patches/0474-Wait-for-Async-Tasks-during-shutdown.patch
index 9fd9c66730..c0abc344d3 100644
--- a/Spigot-Server-Patches/0474-Wait-for-Async-Tasks-during-shutdown.patch
+++ b/Spigot-Server-Patches/0474-Wait-for-Async-Tasks-during-shutdown.patch
@@ -22,10 +22,10 @@ index 1d77d6254b024c286781be8dc74680bc1e8f1238..bc45d15091282f30f7d147aed4e72b4e
// CraftBukkit end
if (this.getServerConnection() != null) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index cc1316825b639e4b95407922dfa246763db36a9a..870c3fb58971da94dcf4d91c3077bca305f15b2b 100644
+index aa5efc9225bb58f9290b9aefcb5ef171c7a88e7d..5f03ec59588fd975ca2fb62961b10212d8a9cbec 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -939,6 +939,35 @@ public final class CraftServer implements Server {
+@@ -938,6 +938,35 @@ public final class CraftServer implements Server {
org.spigotmc.WatchdogThread.hasStarted = true; // Paper - Disable watchdog early timeout on reload
}
diff --git a/Spigot-Server-Patches/0493-Add-Plugin-Tickets-to-API-Chunk-Methods.patch b/Spigot-Server-Patches/0493-Add-Plugin-Tickets-to-API-Chunk-Methods.patch
index 24dd856ce1..f91b76cc6e 100644
--- a/Spigot-Server-Patches/0493-Add-Plugin-Tickets-to-API-Chunk-Methods.patch
+++ b/Spigot-Server-Patches/0493-Add-Plugin-Tickets-to-API-Chunk-Methods.patch
@@ -22,7 +22,7 @@ wants it to collect even faster, they can restore that setting back to 1 instead
Not adding it to .getType() though to keep behavior consistent with vanilla for performance reasons.
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 870c3fb58971da94dcf4d91c3077bca305f15b2b..e08d43ae76e9e1d32fe86520f1380b927933f1e7 100644
+index 5f03ec59588fd975ca2fb62961b10212d8a9cbec..a295ab6a7ec79775224381e94e288069f5d311fe 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -343,7 +343,7 @@ public final class CraftServer implements Server {
@@ -34,7 +34,7 @@ index 870c3fb58971da94dcf4d91c3077bca305f15b2b..e08d43ae76e9e1d32fe86520f1380b92
minimumAPI = configuration.getString("settings.minimum-api");
loadIcon();
}
-@@ -834,7 +834,7 @@ public final class CraftServer implements Server {
+@@ -833,7 +833,7 @@ public final class CraftServer implements Server {
waterAmbientSpawn = configuration.getInt("spawn-limits.water-ambient");
ambientSpawn = configuration.getInt("spawn-limits.ambient");
warningState = WarningState.value(configuration.getString("settings.deprecated-verbose"));
diff --git a/Spigot-Server-Patches/0523-Allow-delegation-to-vanilla-chunk-gen.patch b/Spigot-Server-Patches/0523-Allow-delegation-to-vanilla-chunk-gen.patch
index fd93b7ea7f..85ce652a8e 100644
--- a/Spigot-Server-Patches/0523-Allow-delegation-to-vanilla-chunk-gen.patch
+++ b/Spigot-Server-Patches/0523-Allow-delegation-to-vanilla-chunk-gen.patch
@@ -27,10 +27,10 @@ index 60ecd3a92af0f1968b10bb8babfb43147ef568d3..9077b70650d70dd294f53a1ef73e86e2
for (int l = 0; l < k; ++l) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index e08d43ae76e9e1d32fe86520f1380b927933f1e7..cd85c77ae032d15c4bf64a1e93c851aaee53cc02 100644
+index a295ab6a7ec79775224381e94e288069f5d311fe..8f44857e9f61c72fa210c16c8bd6b8a6bbdac239 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2029,6 +2029,32 @@ public final class CraftServer implements Server {
+@@ -2033,6 +2033,32 @@ public final class CraftServer implements Server {
return new CraftChunkData(world);
}
diff --git a/Spigot-Server-Patches/0549-Add-setMaxPlayers-API.patch b/Spigot-Server-Patches/0549-Add-setMaxPlayers-API.patch
index 06b0091969..af8f01de47 100644
--- a/Spigot-Server-Patches/0549-Add-setMaxPlayers-API.patch
+++ b/Spigot-Server-Patches/0549-Add-setMaxPlayers-API.patch
@@ -18,10 +18,10 @@ index d3f3dc4ad2c758482b7a8d5c07caa526ce1e3424..8bd55e3d2b5142081a7dfe1dbbd36f2f
private EnumGamemode u;
private boolean v;
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index cd85c77ae032d15c4bf64a1e93c851aaee53cc02..a44e50c31163d6930ae7ac580b0e8eda31ece9ac 100644
+index 8f44857e9f61c72fa210c16c8bd6b8a6bbdac239..4dceb2d0beb6f91526b101d4947556049a0f3251 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -615,6 +615,13 @@ public final class CraftServer implements Server {
+@@ -614,6 +614,13 @@ public final class CraftServer implements Server {
return playerList.getMaxPlayers();
}
diff --git a/Spigot-Server-Patches/0589-Add-getOfflinePlayerIfCached-String.patch b/Spigot-Server-Patches/0589-Add-getOfflinePlayerIfCached-String.patch
index c1b3493cf7..0661e01e89 100644
--- a/Spigot-Server-Patches/0589-Add-getOfflinePlayerIfCached-String.patch
+++ b/Spigot-Server-Patches/0589-Add-getOfflinePlayerIfCached-String.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add getOfflinePlayerIfCached(String)
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index a44e50c31163d6930ae7ac580b0e8eda31ece9ac..f94a0e397e4ff331da7640591ed9644ba5b28ced 100644
+index 4dceb2d0beb6f91526b101d4947556049a0f3251..7277fd5807254020054cdbfb97fbd334e05da832 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1609,6 +1609,28 @@ public final class CraftServer implements Server {
+@@ -1613,6 +1613,28 @@ public final class CraftServer implements Server {
return result;
}
diff --git a/Spigot-Server-Patches/0654-Added-Vanilla-Entity-Tags.patch b/Spigot-Server-Patches/0654-Added-Vanilla-Entity-Tags.patch
index 7f3d44cbd3..4d3da07cb2 100644
--- a/Spigot-Server-Patches/0654-Added-Vanilla-Entity-Tags.patch
+++ b/Spigot-Server-Patches/0654-Added-Vanilla-Entity-Tags.patch
@@ -40,10 +40,10 @@ index 0000000000000000000000000000000000000000..2ca8e1bade5450a14125b77540792e0b
+ }
+}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index f94a0e397e4ff331da7640591ed9644ba5b28ced..4608612583064d9d06365718a7dca864159e38f5 100644
+index 7277fd5807254020054cdbfb97fbd334e05da832..0f04ba41df95986b71524995738831223080cb88 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2218,6 +2218,11 @@ public final class CraftServer implements Server {
+@@ -2222,6 +2222,11 @@ public final class CraftServer implements Server {
Preconditions.checkArgument(clazz == org.bukkit.Fluid.class, "Fluid namespace must have fluid type");
return (org.bukkit.Tag<T>) new CraftFluidTag(console.getTagRegistry().getFluidTags(), key);
diff --git a/Spigot-Server-Patches/0672-misc-debugging-dumps.patch b/Spigot-Server-Patches/0672-misc-debugging-dumps.patch
index 2dd54eefd2..5ba0cb2fae 100644
--- a/Spigot-Server-Patches/0672-misc-debugging-dumps.patch
+++ b/Spigot-Server-Patches/0672-misc-debugging-dumps.patch
@@ -66,7 +66,7 @@ index f8446fd716a891a0b71675ccee6a6eac55fba87c..176a17582cb3b29a2ed430914ba8c058
try {
this.serverThread.join();
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 4608612583064d9d06365718a7dca864159e38f5..ab4ddd62d6361ca99a7ec24c5b83f74314d1494a 100644
+index 0f04ba41df95986b71524995738831223080cb88..e5c78b4e7537c8a042dcc41ca6b77c000c4317de 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -18,6 +18,7 @@ import com.mojang.serialization.Lifecycle;
@@ -77,7 +77,7 @@ index 4608612583064d9d06365718a7dca864159e38f5..ab4ddd62d6361ca99a7ec24c5b83f743
import it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap;
import java.awt.image.BufferedImage;
import java.io.File;
-@@ -938,6 +939,7 @@ public final class CraftServer implements Server {
+@@ -937,6 +938,7 @@ public final class CraftServer implements Server {
plugin.getDescription().getName(),
"This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin"
));
diff --git a/Spigot-Server-Patches/0689-Implement-Keyed-on-World.patch b/Spigot-Server-Patches/0689-Implement-Keyed-on-World.patch
index 460c30703d..914a3c28d5 100644
--- a/Spigot-Server-Patches/0689-Implement-Keyed-on-World.patch
+++ b/Spigot-Server-Patches/0689-Implement-Keyed-on-World.patch
@@ -64,10 +64,10 @@ index 760579921927b4c8b0f20b2611b95fd626e4b27f..3075700dfa992da81b10246fcf7c7ad1
return this.c;
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index ab4ddd62d6361ca99a7ec24c5b83f74314d1494a..16ed4a59fa70b94a80c94c99af74fdce9b44768d 100644
+index e5c78b4e7537c8a042dcc41ca6b77c000c4317de..706dad235de3b7ffe014f564e1c68f18e1edeefc 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1158,7 +1158,7 @@ public final class CraftServer implements Server {
+@@ -1157,7 +1157,7 @@ public final class CraftServer implements Server {
} else if (name.equals(levelName + "_the_end")) {
worldKey = net.minecraft.world.level.World.THE_END;
} else {
@@ -76,7 +76,7 @@ index ab4ddd62d6361ca99a7ec24c5b83f74314d1494a..16ed4a59fa70b94a80c94c99af74fdce
}
WorldServer internal = (WorldServer) new WorldServer(console, console.executorService, worldSession, worlddata, worldKey, dimensionmanager, getServer().worldLoadListenerFactory.create(11),
-@@ -1248,6 +1248,15 @@ public final class CraftServer implements Server {
+@@ -1247,6 +1247,15 @@ public final class CraftServer implements Server {
return null;
}
diff --git a/Spigot-Server-Patches/0730-Add-basic-Datapack-API.patch b/Spigot-Server-Patches/0730-Add-basic-Datapack-API.patch
index 7e09a21003..7d34bf75bc 100644
--- a/Spigot-Server-Patches/0730-Add-basic-Datapack-API.patch
+++ b/Spigot-Server-Patches/0730-Add-basic-Datapack-API.patch
@@ -134,7 +134,7 @@ index e87523612d0423d71eab7b9af851c1c268cdf84f..568da9686c41a41e43ede3fe15e0ca53
return this.c;
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 16ed4a59fa70b94a80c94c99af74fdce9b44768d..033a0f1852afd6c1fd136ef07b611a9132adfa0c 100644
+index 706dad235de3b7ffe014f564e1c68f18e1edeefc..89244c152665c97cb539bea07fedd1774ed626f1 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -18,6 +18,7 @@ import com.mojang.serialization.Lifecycle;
@@ -161,7 +161,7 @@ index 16ed4a59fa70b94a80c94c99af74fdce9b44768d..033a0f1852afd6c1fd136ef07b611a91
}
public boolean getCommandBlockOverride(String command) {
-@@ -2493,5 +2496,11 @@ public final class CraftServer implements Server {
+@@ -2497,5 +2500,11 @@ public final class CraftServer implements Server {
public com.destroystokyo.paper.entity.ai.MobGoals getMobGoals() {
return mobGoals;
}
diff --git a/Spigot-Server-Patches/0738-Fix-and-optimise-world-force-upgrading.patch b/Spigot-Server-Patches/0738-Fix-and-optimise-world-force-upgrading.patch
index 1dcc1d76b4..3e01d7b161 100644
--- a/Spigot-Server-Patches/0738-Fix-and-optimise-world-force-upgrading.patch
+++ b/Spigot-Server-Patches/0738-Fix-and-optimise-world-force-upgrading.patch
@@ -375,10 +375,10 @@ index ebb0d6988f87013ea5d523ab4a1b31cb669ccc43..74d826853389b8e01ffe2b076cf2b179
return this.cache.getAndMoveToFirst(ChunkCoordIntPair.pair(chunkcoordintpair.getRegionX(), chunkcoordintpair.getRegionZ()));
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index c51e9b50323f5e33bad5fd25d74c572241377059..ff79c13bc7717eb9529e802b8e31a1f756b02f97 100644
+index 8209f188dbc932114268486a2ebd77df989a86ec..cebecee640ed5a7fc2b978e00ff7eb012228267d 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1147,14 +1147,7 @@ public final class CraftServer implements Server {
+@@ -1146,14 +1146,7 @@ public final class CraftServer implements Server {
}
worlddata.checkName(name);
worlddata.a(console.getServerModName(), console.getModded().isPresent());
@@ -394,7 +394,7 @@ index c51e9b50323f5e33bad5fd25d74c572241377059..ff79c13bc7717eb9529e802b8e31a1f7
long j = BiomeManager.a(creator.seed());
List<MobSpawner> list = ImmutableList.of(new MobSpawnerPhantom(), new MobSpawnerPatrol(), new MobSpawnerCat(), new VillageSiege(), new MobSpawnerTrader(worlddata));
-@@ -1171,6 +1164,14 @@ public final class CraftServer implements Server {
+@@ -1170,6 +1163,14 @@ public final class CraftServer implements Server {
chunkgenerator = worlddimension.c();
}