mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-26 18:39:43 -05:00
Switch Permission Check Method
This commit is contained in:
1 parent
b4e3f359e5
commit
3978ec5a1d
1 file changed
+1
-1
@@ -78,7 +78,7 @@ public class CommandsCache {
|
||||
|
||||
permitted = Reflection.isProxyServer() && serverName != null
|
||||
? !Storage.Blacklist.isBlocked(targetObj, command, !Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED, serverName)
|
||||
: PermissionUtil.hasBypassPermission(targetObj, command);
|
||||
: PermissionUtil.hasBypassPermission(targetObj, command, false);
|
||||
|
||||
if(useList && !permitted || !useList && permitted) continue;
|
||||
playerCommands.add(command);
|
||||
|
||||
Reference in new issue
Block a user