This commit is contained in:
hahwu 2025-08-29 15:59:57 +08:00
parent 31ed67dbed
commit f54d558db5

View File

@ -125,7 +125,7 @@ func TriggerQuestProgress(q *QuestProgress, Tr *Trigger) bool {
func QuestProgressToMsg(quest *QuestProgress) *msg.QuestProgress {
Param := 0
if len(quest.A) > 0 {
Param, _ = strconv.Atoi(quest.A[0].(string))
Param = GoUtil.Int(quest.A[0])
}
return &msg.QuestProgress{
Label: quest.Label,