I'm making a menu where players can choose between three guilds. When they pick one, it should replace the three options with nothing (air), and show a barrier block in the middle slot to indicate they are on cooldown. Players with the "deluxemenus.guild_switch.cooldown" permission should see the barrier block instead of the three guild options. If a player doesn't have that permission, they should see all three guild choices.
The problem is that even when a player has the correct permission, it still shows the three guild options and not the barrier block. So the menu always looks like the default state, even though the permission is set correctly and should trigger the cooldown display.
I would appreciate help because I don't know how to move eon from here.