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:
|
else:
|
||||||
add_json_text(parts, ".")
|
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
|
@property
|
||||||
def local(self):
|
def local(self):
|
||||||
|
|
Loading…
Reference in New Issue