Fix on_player_command firing on the wrong thread

This commit is contained in:
altrisi committed 2025-11-29 21:40:47 +01:00
1 parent 47f5bdf318
commit 2a958920e2
1 file changed
+1 -1
@@ -280,7 +280,7 @@ public class ServerGamePacketListenerImpl_scarpetEventsMixin
}
}
@Inject(method = "handleChatCommand(Lnet/minecraft/network/protocol/game/ServerboundChatCommandPacket;)V",
@Inject(method = "method_44356", // lambda of handleChatCommand(ServerboundChatCommandPacket)
at = @At(value = "HEAD")
)
private void onChatCommandMessage(ServerboundChatCommandPacket serverboundChatCommandPacket, CallbackInfo ci) {