mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-04 14:31:13 +00:00
Change condition to check record length
This commit is contained in:
parent
3eb2a36f3b
commit
259660f282
@ -383,7 +383,7 @@ func newHandouGame(target idiomJSON) func(string) (bool, []byte, error) {
|
||||
tickTruePinyin[i] = string(tickTruePinyinChar)
|
||||
tickExistPinyin[i] = string(tickExistPinyinChar)
|
||||
}
|
||||
if len(record) == 2 {
|
||||
if len(record) >= 2 {
|
||||
tickTruePinyin[0] = pinyin[0]
|
||||
tickExistChars[0] = chars[0]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user