mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-06 03:51:23 +08:00
We should write challenge as an int not uint
This commit is contained in:
@@ -17,7 +17,7 @@ class ServerQuerier:
|
||||
packet.write(self.MAGIC_PREFIX)
|
||||
packet.write(struct.pack("!B", id))
|
||||
packet.write_uint(0)
|
||||
packet.write_uint(self.challenge)
|
||||
packet.write_int(self.challenge)
|
||||
return packet
|
||||
|
||||
def _read_packet(self):
|
||||
|
||||
Reference in New Issue
Block a user