From e92607cd21db8a6665a40898801c36a0d24f2d8c Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Fri, 25 Oct 2024 13:19:27 -0700 Subject: [PATCH] Fix MSPT command Used wrong variable for tick length --- .../server/0322-Add-tick-times-API-and-mspt-command.patch | 8 ++++---- patches/server/0348-misc-debugging-dumps.patch | 2 +- .../0355-Wait-for-Async-Tasks-during-shutdown.patch | 2 +- ...-Fix-Per-World-Difficulty-Remembering-Difficulty.patch | 2 +- patches/server/0403-Cache-block-data-strings.patch | 2 +- ...deop-kicking-non-whitelisted-player-when-white-l.patch | 2 +- .../server/0457-Add-ServerResourcesReloadedEvent.patch | 2 +- patches/server/0480-Add-EntityMoveEvent.patch | 2 +- ...9-forced-whitelist-use-configurable-kick-message.patch | 2 +- patches/server/0539-Add-PlayerKickEvent-causes.patch | 2 +- ...0642-Expose-vanilla-BiomeProvider-from-WorldInfo.patch | 2 +- ...ute-chunk-tasks-fairly-for-worlds-while-waiting-.patch | 2 +- ...on-to-have-default-CustomSpawners-in-custom-worl.patch | 2 +- ...ut-world-into-worldlist-before-initing-the-world.patch | 2 +- patches/server/0665-Custom-Potion-Mixes.patch | 2 +- ...row-exception-on-world-create-while-being-ticked.patch | 2 +- .../0728-Fix-plugin-loggers-on-server-shutdown.patch | 2 +- .../0766-Fix-premature-player-kicks-on-shutdown.patch | 2 +- .../0836-Folia-scheduler-and-owned-region-API.patch | 2 +- ...-Add-onboarding-message-for-initial-server-start.patch | 2 +- patches/server/0956-Brigadier-based-command-API.patch | 2 +- patches/server/0983-Optimize-Hoppers.patch | 2 +- patches/server/1021-Tag-Lifecycle-Events.patch | 2 +- patches/server/1038-Moonrise-optimisation-patches.patch | 2 +- 24 files changed, 27 insertions(+), 27 deletions(-) diff --git a/patches/server/0322-Add-tick-times-API-and-mspt-command.patch b/patches/server/0322-Add-tick-times-API-and-mspt-command.patch index d0480d54b7..ebc083a446 100644 --- a/patches/server/0322-Add-tick-times-API-and-mspt-command.patch +++ b/patches/server/0322-Add-tick-times-API-and-mspt-command.patch @@ -125,7 +125,7 @@ index 72f2e81b9905a0d57ed8e2a88578f62d5235c456..7b58b2d6297800c2dcdbf7539e5ab8e7 public static void registerCommands(final MinecraftServer server) { diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 5f84618775d66d50557fa71f77fa322c2d1da791..708552756a33339ce9eefe48c9999a2ec08f7e1c 100644 +index 5f84618775d66d50557fa71f77fa322c2d1da791..4f446f24e8468b2427528548edde0512c9fae5b0 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -264,6 +264,11 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop void loadContentsFromNetwork( diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index b37e49bd25ed327e03250415799c0777f95bd57b..6d0cfaaf414931d9fd8eee417f4b70ac6679de10 100644 +index d25bc0cf0c05de8e9e7366104560d74961d74a8a..be1588c0a757a2d86fbedc1c89f47fd7c60d84f4 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -2251,7 +2251,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop