mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-12 04:00:15 +00:00
tele was right...this was wrong...
match mode now acts simply, as one may intially expect
This commit is contained in:
parent
2a23759d34
commit
af7ca9acef
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class CommandListener extends PlexListener
|
||||||
}
|
}
|
||||||
else if(blockedCommand instanceof MatchCommand matchCommand)
|
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;
|
isBlocked = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue