diff --git a/README.md b/README.md index a3643530..e5abe310 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,7 @@ async def main(): client = Client( host="localhost", port=25565, - client=client, + httpx_client=client, account=account, conn=connection, protocol_version=763, # 1.20.1 diff --git a/mcproto/client.py b/mcproto/client.py index 2ab9d7cd..2c85a7ae 100644 --- a/mcproto/client.py +++ b/mcproto/client.py @@ -222,5 +222,4 @@ async def login(self) -> None: # Wait for Login (play) packet now. It could take a while for some servers to # transition to the play state, but we can be certain the server won't send any # other packets before this Login one. - recv_packet = await self._read_packet() - # TODO: Mcproto doesn't yet contain PLAY game state packets + raise NotImplementedError("Play state packets aren't implemented yet")