Add whisper pings as separate setting

This commit is contained in:
Draycia committed 2020-08-11 01:04:48 -07:00
1 parent f6078b9fc4
commit c183c9236b
18 files changed
+105 -26

No files matched your search

@@ -14,7 +14,7 @@ public class CapsHandler implements Listener {
this.moderation = moderation;
}
@EventHandler(priority = EventPriority.LOW)
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
public void onMessage(PreChatFormatEvent event) {
if (!moderation.getConfig().getBoolean("caps-protection.enabled")) {
return;
@@ -21,7 +21,7 @@ public class FilterHandler implements Listener {
this.moderation = moderation;
}
@EventHandler(priority = EventPriority.LOWEST)
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
public void onFilter(PreChatFormatEvent event) {
if (!moderation.getConfig().getBoolean("filters.enabled")) {
return;