in the sendLocalMessage method there also is a check for permissions. double checking is not really needed I think.
so basicly it checks all players the permissions and then sends them a message, in that sendLocalMessage it checks each player again. so players will receive multiple messages if there are multiple players online.
that is fixed here.
or did you mean something else?