public void setInheritedPermissions(Player player, PermissionAttachment attachment, String playerGroup){
		String[] inherited = getInherited(playerGroup);
		
		for(int i = 0; i < inherited.length; i++){
			String[] Nodes = getNodes(inherited[i]);
			setNodes(Nodes, attachment, player);
			
			if(xm.getPermissions().get().isSet("groups." + inherited[i] + ".inherit")){
				setInheritedPermissions(player, attachment, inherited[i]);
			}
		}
	}