Indicates whether the player has the given permission.
if(!player.hasPermission("minecraft.teleport")) { player.grantPermission("minecraft.*"); assert(player.hasPermission("minecraft.teleport")); }
See Implementation
Indicates whether the player has the given permission.