From 3ab5c90d7c6f8cb8040b11cc1c1113ea36aea89b Mon Sep 17 00:00:00 2001 From: Jarno Westhof Date: Sun, 30 Jan 2022 14:59:37 +0100 Subject: [PATCH] [Docs] updated description on player property of NetworkItem --- docs/network protocol.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/network protocol.md b/docs/network protocol.md index 5b766256..5864e62f 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -349,16 +349,16 @@ class NetworkItem(NamedTuple): In JSON this may look like: ```js [ - {"item": 1, "location": 1, "player": 0, "flags": 1}, - {"item": 2, "location": 2, "player": 0, "flags": 2}, - {"item": 3, "location": 3, "player": 0, "flags": 0} + {"item": 1, "location": 1, "player": 1, "flags": 1}, + {"item": 2, "location": 2, "player": 2, "flags": 2}, + {"item": 3, "location": 3, "player": 3, "flags": 0} ] ``` `item` is the item id of the item `location` is the location id of the item inside the world -`player` is the player slot of the world the item is located in +`player` is the player slot of the world the item is located in, except when inside an LocationInfoPacket then it will be the slot of the player to receive the item `flags` are bit flags: | Flag | Meaning |