This commit is contained in:
shoopea 2020-01-12 21:43:15 +08:00
parent 30a3cfffb5
commit 64ab463a92

4
msg.go
View File

@ -360,8 +360,8 @@ func parseSubTypeMessageGoQuestAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatW
switch quest := strings.ToLower(r.ReplaceAllString(m.Text, "${Place}")); quest {
case "forest":
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
case "montains":
cwm.QuestTypeID64 = cacheObjSubType[`quest_montain`]
case "mountains":
cwm.QuestTypeID64 = cacheObjSubType[`quest_mountains`]
default:
log.Printf("parseSubTypeMessageGoQuestAck : no reference for quest `%s`\n", quest)
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]