mimic ItemSend fields of PrintJSON for hints
This commit is contained in:
parent
6458653812
commit
fd9123610b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue