FIX THE FUCKING CORRECT AHHHHHHHHH
IM DUMB THE ENTIRE TIME
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user