better packet names to match new packet structure
This commit is contained in:
1 parent
64cf23436b
commit
61b07f52f2
3 files changed
+11
-9
No files matched your search
@@ -9,7 +9,7 @@ from minecraft.networking.types import (
|
||||
def get_packets(context):
|
||||
packets = {
|
||||
ResponsePacket,
|
||||
PingPacketResponse,
|
||||
PingResponsePacket,
|
||||
}
|
||||
return packets
|
||||
|
||||
@@ -21,7 +21,7 @@ class ResponsePacket(Packet):
|
||||
{'json_response': String}]
|
||||
|
||||
|
||||
class PingPacketResponse(Packet):
|
||||
class PingResponsePacket(Packet):
|
||||
id = 0x01
|
||||
packet_name = "ping"
|
||||
definition = [
|
||||
|
||||
Reference in new issue
Block a user