From 589f0cf454754c1280238669678f4ab55c6a966c Mon Sep 17 00:00:00 2001 From: alterNERDtive <53827887+alterNERDtive@users.noreply.github.com> Date: Wed, 13 Jan 2021 14:06:27 +0100 Subject: [PATCH] PLUGINS.md: fix typo & example for `journal_entry` --- PLUGINS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLUGINS.md b/PLUGINS.md index 9f73df7f..a48f41f8 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -375,7 +375,7 @@ def journal_entry( if entry['event'] == 'FSDJump': # We arrived at a new system! if 'StarPos' in entry: - logger.info(f'Arrived at {entry["StarSystem"]} {entry["StarPos"') + logger.info(f'Arrived at {entry["StarSystem"]} {entry["StarPos"]}') else: logger.info(f'Arrived at {entry["StarSystem"]}') @@ -396,7 +396,7 @@ Content of `state` (updated to the current journal entry): | Field | Type | Description | | :------------- | :-------------------------: | :-------------------------------------------------------------------------------------------------------------- | -| `Captian` | `Optional[str]` | Name of the commander who's crew you're on, if any | +| `Captain` | `Optional[str]` | Name of the commander who's crew you're on, if any | | `Cargo` | `dict` | Current cargo. Note that this will be totals, and any mission specific duplicates will be counted together | | `CargoJSON` | `dict` | content of cargo.json as of last read. | | `Credits` | `int` | Current credits balance |