Fixed child permissions bug

Fixed the bug that, when a permission with child permission is given to a player or group, the players would only get the parent, but not the child permissions.