commit | 0038d3a9cae4c0842e3ada7a88db13707955d096 | [log] [download] |
---|---|---|
author | Shevchik <Shev4ik.den@gmail.com> | Thu Jul 02 13:29:18 2020 +0300 |
committer | Shevchik <Shev4ik.den@gmail.com> | Thu Jul 02 13:29:18 2020 +0300 |
tree | 1d2a6bd9d6a1c4865cf4495c851c7dc1c5e874d1 | |
parent | 2c26b9b42f0da21d2dd30b7afc94aaae784e14f0 [diff] |
Always use void promises for sending transformed packets. Try set original promise as success only after transforming packets. Attempting to actually use the promise in sending packets creates problems in single->multiple packet transformation, for example packet ordering breaks, because if actual promise had a listener that sends another packet, such packet will be sent first, and then the rest of multiple packets will follow, or it breaks in case the actual promise did fail because the transformer thrown the exception, but the packet that used that promise did succeed.
Support 1.16, 1.15, 1.14, 1.13, 1.12, 1.11, 1.10, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4.7 clients on Spigot 1.16.1
Important notes:
Known issues:
Known wontfix issues:
Website: https://protocol.support/
Spigot: https://www.spigotmc.org/resources/protocolsupport.7201/
BukkitDev: https://dev.bukkit.org/projects/protocolsupport/
MC Market: http://www.mc-market.org/resources/4607/
Jenkins: https://build.true-games.org/job/ProtocolSupport/
Licensed under the terms of GNU AGPLv3