From a8cf67c94d7c045b7dd13f08fa8ded70d070d937 Mon Sep 17 00:00:00 2001 From: Hussein Farran Date: Wed, 4 Aug 2021 16:05:16 -0400 Subject: [PATCH] Fix type annotation for a key under `GameData` --- docs/network protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/network protocol.md b/docs/network protocol.md index 810d9720..aa6e2de4 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -371,6 +371,6 @@ Note: GameData is a **dict** but contains these keys and values. It's broken out into another "type" for ease of documentation. | Name | Type | Notes | | ---- | ---- | ----- | -| item_name_to_id | dict[int, str] | Mapping of all item names to their respective ID. | +| item_name_to_id | dict[str, int] | Mapping of all item names to their respective ID. | | location_name_to_id | dict[str, int] | Mapping of all location names to their respective ID. | | version | int | Version number of this game's data |