From d2d3cf4b1e631f5a015384a2afb05e589f3a6958 Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Wed, 15 Jan 2025 18:37:08 +0100 Subject: [PATCH] Remove redundant method --- Fika.Headless/Classes/HeadlessRaidWebSocketClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fika.Headless/Classes/HeadlessRaidWebSocketClient.cs b/Fika.Headless/Classes/HeadlessRaidWebSocketClient.cs index e313c23..6f343fd 100644 --- a/Fika.Headless/Classes/HeadlessRaidWebSocketClient.cs +++ b/Fika.Headless/Classes/HeadlessRaidWebSocketClient.cs @@ -92,7 +92,7 @@ private void WebSocket_OnMessage(object sender, MessageEventArgs e) switch (type) { case "fikaHeadlessStartRaid": - StartHeadlessRequest request = AsyncWorker.RunOnBackgroundThread(jsonObject.ToObject).Result; + StartHeadlessRequest request = jsonObject.ToObject(); AsyncWorker.RunInMainTread(() => { FikaHeadlessPlugin.Instance.OnFikaStartRaid(request);