mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-26 18:39:43 -05:00
Modify Method
This commit is contained in:
1 parent
012c5709f1
commit
638fc82bfc
1 file changed
+4
@@ -94,6 +94,10 @@ public class Group implements Serializable {
|
||||
return this.generalGroupBlacklist.isListed(command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED);
|
||||
}
|
||||
|
||||
public boolean contains(String command, boolean intensive) {
|
||||
return this.generalGroupBlacklist.isListed(command, intensive);
|
||||
}
|
||||
|
||||
public boolean contains(String command, String server) {
|
||||
GroupBlacklist groupBlacklist = getOrCreateGroupBlacklist(server);
|
||||
return (this.generalGroupBlacklist.isListed(command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED) || groupBlacklist != null && getOrCreateGroupBlacklist(server).isListed(command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED));
|
||||
|
||||
Reference in new issue
Block a user