Startup Optimization

This commit is contained in:
BruceChen 2022-08-30 22:50:05 +08:00
parent 3d13eb51e6
commit c90ea0e92b
6 changed files with 104 additions and 70 deletions

View file

@ -70,7 +70,7 @@ namespace MinecraftClient.ChatBots
public static MessageFilter str2filter(string filtername)
{
switch (filtername.ToLower())
switch (Settings.ToLowerIfNeed(filtername))
{
case "all": return MessageFilter.AllText;
case "messages": return MessageFilter.AllMessages;