Nucleus icon indicating copy to clipboard operation
Nucleus copied to clipboard

Don't show "use flag" text if player doesn't have permission to use it

Open Time6628 opened this issue 7 years ago • 4 comments

I know for a few commands(/enchant mostly) nucleus will tell the player to use a certain flag to do something. This is very annoying to server owners as players will constantly ask why they can't do the flag, since the plugin is telling them to do it if they want to. Please implement a check to see if the player has the permission or not before telling them to do the flag.

Time6628 avatar Apr 05 '17 09:04 Time6628

Can you make a list of the affected commands?

Mohron avatar Apr 05 '17 12:04 Mohron

/enchant -o and -u is the only one that comes to mind.

Time6628 avatar Apr 05 '17 20:04 Time6628

few commands(/enchant mostly)

Guess this was just an exaggeration! Should be an easy fix though.

Mohron avatar Apr 05 '17 20:04 Mohron

Yea, my bad.

Time6628 avatar Apr 05 '17 20:04 Time6628