Skip to content

Commit 6c37330

Browse files
committed
fix: move fastquit shutdown hook
1 parent a387c5e commit 6c37330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/contaria/fastquit/mixin/MinecraftClientMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private boolean fastquit(IntegratedServer server) {
5050
method = "stop",
5151
at = @At(
5252
value = "INVOKE",
53-
target = "Lnet/minecraft/client/world/ClientWorld;disconnect(Lnet/minecraft/text/Text;)V",
53+
target = "Lnet/minecraft/client/MinecraftClient;disconnectWithProgressScreen()V",
5454
shift = At.Shift.AFTER
5555
)
5656
)

0 commit comments

Comments
 (0)