修改 终端最大长度阈值

This commit is contained in:
Suwings 2020-03-01 17:03:30 +08:00
parent d829bab559
commit 5e501b0a1e

View File

@ -145,7 +145,7 @@
return;
}
// 终端最长长度限制
var consoleMaxLength = 300000;
var consoleMaxLength = 250000;
if (MinecraftConsole.innerHTML.length > consoleMaxLength) {
MinecraftConsole.innerHTML = "<br /><br />[ 控制面板 ]: 日志显示过长,为避免网页卡顿,现已自动清空。<br />[ 控制面板 ]: 若想回看历史日志,请点击右上角刷新按钮,再重新进入点击 [历史] 按钮即可。<br /><br />"
}