commit | aaa26c0246fb3e9b2db239f4869f658dc9894fc4 | [log] [download] |
---|---|---|
author | Shevchik <Shev4ik.den@gmail.com> | Fri Feb 26 03:31:28 2021 +0300 |
committer | Shevchik <Shev4ik.den@gmail.com> | Fri Feb 26 03:31:28 2021 +0300 |
tree | 25439ec65257fdae916b5bdea1836f3d14406dbc | |
parent | 858f62c643138dc907b4866b4919b15dca1066b9 [diff] |
Fix rain state for <= 1.6.4 In 1.7 rain handling was moved serverside. So rain strength is now sent from server, and rain appears when strength is over 0.2. Server still sends start/stop rain game event, however the raining flag no longer does anything clientside. Yet the same start/stop rain game event also sets rain strength, and to make it worse, start rain sets strength to 0 (which also kinda stops rain for a tick) and stop rain sets strength to 1, so they work in reverse since 1.7 (WTF mojang?). Versions below 1.7 only support starting/stopping rain, not setting it's strength so translation is done as follows: rain strength > 0.2 as start rain, < 0.2 as stop rain, start rain game event as stop rain, stop rain game event as start rain. Since start/stop rain game event on old versions will reset rain progress, start/stop event is only sent when weather changes, not on any game event.
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.4
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/
Main Jenkins: https://build.hurricanegames.org/job/ProtocolSupport/
Backup Jenkins: https://ci.velocitypowered.com/job/ProtocolSupport/
Licensed under the terms of GNU AGPLv3