Fixed ignore BroadcastFilter
This commit is contained in:
@@ -119,7 +119,7 @@ public class Ignore implements Module {
|
||||
public boolean sendTo(CommandSender recipient) {
|
||||
if (sUUID.equals("CONSOLE")) return true;
|
||||
|
||||
if ((recipient instanceof Player)) return true;
|
||||
if ((recipient instanceof Player)) {
|
||||
|
||||
Player player = (Player) recipient;
|
||||
|
||||
@@ -127,6 +127,8 @@ public class Ignore implements Module {
|
||||
|
||||
JSONArray ignores = (JSONArray) DataManager.getOrDefault(recipient, "ignores", new JSONArray());
|
||||
return !ignores.contains(sUUID);
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user