diff --git a/CommonClient.py b/CommonClient.py index 71b99429151e..494cce279fdc 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -23,7 +23,7 @@ from MultiServer import CommandProcessor from NetUtils import (Endpoint, decode, NetworkItem, encode, JSONtoTextParser, ClientStatus, Permission, NetworkSlot, - RawJSONtoTextParser, add_json_text, add_json_location, add_json_item, JSONTypes) + RawJSONtoTextParser, add_json_text, add_json_location, add_json_item, JSONTypes, HintStatus) from Utils import Version, stream_input, async_start from worlds import network_data_package, AutoWorldRegister import os @@ -528,7 +528,7 @@ async def shutdown(self): self.input_task.cancel() # Hints - def update_hint(self, location: int, finding_player: int, status: typing.Optional[NetUtils.HintStatus]) -> None: + def update_hint(self, location: int, finding_player: int, status: typing.Optional[HintStatus]) -> None: msg = {"cmd": "UpdateHint", "location": location, "player": finding_player} if status is not None: msg["status"] = status