[Fix] Core 修复 BasicBotCode 中 'contentToString()' 格式错误的问题;

[Fix] BasicBotCode 修复 'contentToString()' 尾部缺少方括号的问题;
This commit is contained in:
LamGC 2020-11-21 09:15:27 +08:00
parent 2520c79c50
commit 1bbaf1f164
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -66,7 +66,7 @@ public class BasicBotCode extends AbstractBotCode {
throw new IllegalStateException(e);
}
}
return builder.deleteCharAt(builder.lastIndexOf("&")).toString();
return builder.deleteCharAt(builder.lastIndexOf("&")).append(']').toString();
}
}