diff --git a/main/src/main/java/com/github/kaspiandev/antipopup/AntiPopup.java b/main/src/main/java/com/github/kaspiandev/antipopup/AntiPopup.java index 5b0c3b3..e8f8290 100644 --- a/main/src/main/java/com/github/kaspiandev/antipopup/AntiPopup.java +++ b/main/src/main/java/com/github/kaspiandev/antipopup/AntiPopup.java @@ -114,8 +114,7 @@ public void onEnable() { Objects.requireNonNull(this.getCommand("antipopup")).setExecutor(new CommandRegister()); getLogger().info("Commands registered."); - if (yamlDoc.getBoolean("filter-not-secure") - || yamlDoc.getBoolean("sync-time-suppress")) { + if (yamlDoc.getBoolean("filter-not-secure")) { ((org.apache.logging.log4j.core.Logger) LogManager.getRootLogger()).addFilter(new LogFilter()); getLogger().info("Logger filter enabled."); } else { @@ -175,4 +174,4 @@ public static Plugin getInstance() { public static YamlDocument getYamlDoc() { return yamlDoc; } -} \ No newline at end of file +}