mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
删除双S符号
Minecraft 服务器输出时正则删除双S符号
This commit is contained in:
parent
d12e11bbab
commit
919e04224b
@ -142,6 +142,7 @@
|
||||
flag = (MinecraftConsole.scrollTop + 354 >= BUFF_FONTIER_SIZE_DOWN);
|
||||
//color
|
||||
consoleSafe = TOOLS.encodeConsoleColor(consoleSafe);
|
||||
consoleSafe = TOOLS.deletDoubleS(consoleSafe);
|
||||
//add
|
||||
MinecraftConsole.innerHTML += consoleSafe;
|
||||
//unblive bt ths is t
|
||||
@ -160,6 +161,7 @@
|
||||
var oldHeightV = MinecraftConsole.scrollHeight;
|
||||
//颜色过滤
|
||||
consoleSafe = TOOLS.encodeConsoleColor(consoleSafe);
|
||||
consoleSafe = TOOLS.deletDoubleS(consoleSafe);
|
||||
//incude
|
||||
MinecraftConsole.innerHTML = consoleSafe + MinecraftConsole.innerHTML;
|
||||
var newHeightV = MinecraftConsole.scrollHeight;
|
||||
@ -182,4 +184,4 @@
|
||||
MI.routeCopy('ServerSchedule', data.obj);
|
||||
});
|
||||
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user