mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-07-03 00:05:32 +00:00
[~] Minor
This commit is contained in:
parent
2bf1c07041
commit
7796e3970d
@ -38,7 +38,7 @@ class UDPServer(asyncio.DatagramTransport):
|
||||
client.log.debug(f"Still sending UDP data: {data}")
|
||||
match code:
|
||||
case "p": # Ping packet
|
||||
ev.call_event("onSentPing")
|
||||
ev.call_event("onSentPing", player=client)
|
||||
self.transport.sendto(b"p", addr)
|
||||
case "Z": # Position packet
|
||||
if client._udp_sock != (self.transport, addr):
|
||||
|
Loading…
x
Reference in New Issue
Block a user