tele was right...this was wrong...

match mode now acts simply, as one may intially expect
This commit is contained in:
9378062 2022-04-08 09:43:23 -04:00
parent 2a23759d34
commit af7ca9acef

View File

@ -52,7 +52,7 @@ public class CommandListener extends PlexListener
}
else if(blockedCommand instanceof MatchCommand matchCommand)
{
if (message.equalsIgnoreCase(matchCommand.getMatch()) || message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase() + " "))
if (message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase()) /*message.equalsIgnoreCase(matchCommand.getMatch()) || message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase() + " ")*/)
{
isBlocked = true;
}