Fix StackOverflowError

This commit is contained in:
Him188 2020-04-06 20:33:09 +08:00
parent 7015f0f4e9
commit c722e97f07

View File

@ -67,7 +67,7 @@ class MessageChainBuilder private constructor(
if (index != -1) { if (index != -1) {
container[index] = element container[index] = element
} else { } else {
add(element) container.add(element)
} }
return true return true