mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-30 20:39:53 -05:00
Fix NullPointerException
This commit is contained in:
1 parent
cf56568677
commit
a96364debc
1 file changed
+2
-1
@@ -75,7 +75,8 @@ public class Group implements Serializable {
|
||||
}
|
||||
|
||||
public boolean contains(String command, String server) {
|
||||
return (this.generalGroupBlacklist.isListed(command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED) || getOrCreateGroupBlacklist(server).isListed(command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED));
|
||||
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));
|
||||
}
|
||||
|
||||
public boolean containsOnServer(String command, String server) {
|
||||
|
||||
Reference in new issue
Block a user