Add children for gamemode perms so super perms work correctly. Solves #156.

This commit is contained in:
Trent Hensler 2016-03-23 18:08:22 -07:00
parent a4aa6a22b7
commit 37f6deab85

View File

@ -500,6 +500,8 @@ permissions:
essentials.*:
default: op
description: Give players with op everything by default
children:
essentials.gamemode.*: true
# These permissions can't be assigned from player-commands for compatibility reasons
essentials.teleport.cooldown.bypass.tpa:
default: true
@ -507,3 +509,9 @@ permissions:
essentials.teleport.cooldown.bypass.back:
default: true
description: If the player does not have this permission, /back will have cooldown even with the parent bypass perm
essentials.gamemode.*:
default: op
children:
essentials.gamemode: true
essentials.gamemode.others: true
essentials.gamemode.all: true