forgor the check config
This commit is contained in:
parent
36afeba760
commit
d091ee4b43
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ public class FormatCheckerPlugin extends ChatPlugin.Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isImposterFormat (Component component) {
|
public boolean isImposterFormat (Component component) {
|
||||||
|
if (!bot.config.imposterFormatChecker.enabled) return false;
|
||||||
|
|
||||||
if (!(component instanceof TranslatableComponent format)) return false;
|
if (!(component instanceof TranslatableComponent format)) return false;
|
||||||
|
|
||||||
final List<Component> args = format.args();
|
final List<Component> args = format.args();
|
||||||
|
|
Loading…
Reference in a new issue