mimic ItemSend fields of PrintJSON for hints

This commit is contained in:
Fabian Dill 2021-06-30 20:45:06 +02:00
parent 6458653812
commit fd9123610b
1 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,8 @@ class Hint(typing.NamedTuple):
else:
add_json_text(parts, ".")
return {"cmd": "PrintJSON", "data": parts, "type": "hint"}
return {"cmd": "PrintJSON", "data": parts, "type": "Hint",
"receiving": self.receiving_player, "sending": self.finding_player}
@property
def local(self):