FIX THE FUCKING CORRECT AHHHHHHHHH
IM DUMB THE ENTIRE TIME
This commit is contained in:
parent
1120cbbc09
commit
7d16d0aa3c
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ public class FormatCheckerPlugin extends ChatPlugin.Listener {
|
|||
|
||||
final Component prefix = format.args().get(0);
|
||||
|
||||
if (prefix.equals(bot.console.formatPrefix) || prefix.equals(bot.discord.messagePrefix)) return false;
|
||||
if (prefix.equals(bot.console.formatPrefix) || (bot.discord != null && prefix.equals(bot.discord.messagePrefix))) return false;
|
||||
|
||||
if (!(prefix instanceof TranslatableComponent translatablePrefix)) return true;
|
||||
|
||||
|
@ -89,6 +89,6 @@ public class FormatCheckerPlugin extends ChatPlugin.Listener {
|
|||
|
||||
if (correct) totalFormat++;
|
||||
|
||||
return correct;
|
||||
return !correct;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue