mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-20 19:04:35 +01:00
Equipment and main quest bug fixes
This commit is contained in:
@@ -12,7 +12,7 @@ namespace nksrv.LobbyServer.Msgs.Trigger
|
||||
var req = await ReadData<ReqFinMainQuest>();
|
||||
var user = GetUser();
|
||||
Console.WriteLine("Complete quest: " + req.Tid);
|
||||
user.SetQuest(req.Tid, true);
|
||||
user.SetQuest(req.Tid, false);
|
||||
|
||||
var completedQuest = StaticDataParser.Instance.GetMainQuestByTableId(req.Tid);
|
||||
if (completedQuest == null) throw new Exception("Quest not found");
|
||||
|
||||
Reference in New Issue
Block a user