From 4878e6205e2bcdc503800b1f1d135d11ff90c843 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 6 Feb 2020 18:27:53 +0800 Subject: [PATCH] fix insertMsgPillageInc with v2 --- sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.go b/sql.go index ce776e4..ac5541a 100644 --- a/sql.go +++ b/sql.go @@ -784,7 +784,7 @@ func insertMsgPillageInc(m *ChatWarsMessagePillageInc) error { if err != nil { return err } - if objSubTypeId != cacheObjSubType[`msg`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc`] { + if objSubTypeId != cacheObjSubType[`msg`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc2`] { return errors.New("Message type mismatch") }