Fix Tab-Completion

This commit is contained in:
RayzsYT committed 2024-05-22 20:14:56 +02:00
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() {