mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Add whisper pings as separate setting
This commit is contained in:
1 parent
f6078b9fc4
commit
c183c9236b
18 files changed
+105
-26
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user