From b4a919054a52e3541e14593b6b707a7e53a65282 Mon Sep 17 00:00:00 2001 From: Jakob K Date: Sat, 18 Mar 2023 17:06:49 +0100 Subject: [PATCH] core: Call postStart after server status update --- .../net/silkmc/silk/core/mixin/server/MixinMinecraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silk-core/src/main/java/net/silkmc/silk/core/mixin/server/MixinMinecraftServer.java b/silk-core/src/main/java/net/silkmc/silk/core/mixin/server/MixinMinecraftServer.java index 1fc6ecd5..d6ece73c 100644 --- a/silk-core/src/main/java/net/silkmc/silk/core/mixin/server/MixinMinecraftServer.java +++ b/silk-core/src/main/java/net/silkmc/silk/core/mixin/server/MixinMinecraftServer.java @@ -26,7 +26,7 @@ private void onBeforeInit(CallbackInfo ci) { method = "runServer", at = @At( value = "INVOKE", - target = "Lnet/minecraft/server/MinecraftServer;loadStatusIcon()Ljava/util/Optional;", + target = "Lnet/minecraft/server/MinecraftServer;buildServerStatus()Lnet/minecraft/network/protocol/status/ServerStatus;", shift = At.Shift.AFTER ) )