mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-30 20:39:53 -05:00
Fix Tab-Completion
This commit is contained in:
1 parent
7516722fb5
commit
21d4e83e86
1 file changed
+1
-1
@@ -17,7 +17,7 @@ public class BukkitAntiTabListener implements Listener {
|
||||
if (PermissionUtil.hasBypassPermission(player)) return;
|
||||
|
||||
if(!BukkitLoader.isLoaded()) event.getCommands().clear();
|
||||
else event.getCommands().removeIf(command -> Storage.Blacklist.isTabable(player, command));
|
||||
else event.getCommands().removeIf(command -> !Storage.Blacklist.isTabable(player, command));
|
||||
}
|
||||
|
||||
public static void updateCommands() {
|
||||
|
||||
Reference in new issue
Block a user