mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-15 23:26:31 +01:00
2b22999b94
Added an override to the encoder as such would process any non-wire packets as NMS packets. In the case of the use of different APIs, such as Artemis Packet API, such would cause a conflict and would spit out casting exceptions. It is quite easy to resolve by exclusively accepting Wire Packets and packets which are assignable to the packet class. This solves the issue and tada happy ending. |
||
---|---|---|
.. | ||
main | ||
test |