mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-12-01 22:53:28 +01:00
e9f095de42
Improve Packet string representation.
9 lines
222 B
Python
9 lines
222 B
Python
from .packet import Packet
|
|
from minecraft.networking.types import String, TrailingByteArray
|
|
|
|
|
|
class AbstractPluginMessagePacket(Packet):
|
|
definition = [
|
|
{'channel': String},
|
|
{'data': TrailingByteArray}]
|