From 1e43cb50236fb7618d93f6973564531490884f7f Mon Sep 17 00:00:00 2001 From: Somebody Date: Sun, 7 Dec 2025 12:32:10 +0800 Subject: [PATCH] fix: a compile error --- GameServer/Game/Quest/QuestManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameServer/Game/Quest/QuestManager.cs b/GameServer/Game/Quest/QuestManager.cs index 22a5ce05..6ca5223a 100644 --- a/GameServer/Game/Quest/QuestManager.cs +++ b/GameServer/Game/Quest/QuestManager.cs @@ -94,7 +94,7 @@ public class QuestManager(PlayerInstance player) : BasePlayerManager(player) public async ValueTask AcceptQuest(int questId, bool sync = true) { - if (!ConfigManager.Config.ServerOption.EnableQuest) return; + if (!ConfigManager.Config.ServerOption.EnableQuest) return null; GameData.QuestDataData.TryGetValue(questId, out var questExcel); if (questExcel == null) return null;