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;