diff --git a/common/src/main/java/me/lucko/luckperms/common/utils/DebugHandler.java b/common/src/main/java/me/lucko/luckperms/common/utils/DebugHandler.java index c045c6b4..3a558b4e 100644 --- a/common/src/main/java/me/lucko/luckperms/common/utils/DebugHandler.java +++ b/common/src/main/java/me/lucko/luckperms/common/utils/DebugHandler.java @@ -79,20 +79,20 @@ public class DebugHandler { private void handleOutput(String checked, String node, Tristate value) { if (pasted) { + for (String filter : pastedFilters) { + if (node.toLowerCase().startsWith(filter.toLowerCase())) continue; + if (checked.equalsIgnoreCase(filter)) continue; + break; + } + pastedList.add("`" + checked + "` - " + node + " - **" + value.toString() + "** "); } all: for (Map.Entry> e : listeners.entrySet()) { for (String filter : e.getValue()) { - if (node.toLowerCase().startsWith(filter.toLowerCase())) { - continue; - } - - if (checked.equalsIgnoreCase(filter)) { - continue; - } - + if (node.toLowerCase().startsWith(filter.toLowerCase())) continue; + if (checked.equalsIgnoreCase(filter)) continue; continue all; }