mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
fix: a compile error
This commit is contained in:
@@ -94,7 +94,7 @@ public class QuestManager(PlayerInstance player) : BasePlayerManager(player)
|
||||
|
||||
public async ValueTask<QuestInfo?> 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;
|
||||
|
||||
Reference in New Issue
Block a user