Giving infinite potion effect (duration as -1 for 1.19.4+) is displayed as 0:00 on older clients, while this isn't a big issue for most of effects, night vision give bothering flashing color transitions for background and would be much better if displayed as a very long duration instead of 0:00 duration
An user (server owner) reported this issue to me, thinking my plugin was doing the error, after a fast test from the user it was clear the issue was client version related, so forgive me if i hadn't test if with build from https://ci.viaversion.com/ the issue still persists
Steps to Reproduce
start a server on 1.20.4
connect with a 1.18 client
obtain infinite effect of night vision with minecraft command or with any other plugin
Expected Behavior
No flashing screen
Additional Server Info
No response
Checklist
[X] Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
[X] I have included a ViaVersion dump.
[X] If applicable, I have included a paste (not a screenshot) of the error.
'/viaversion dump' Output
https://dump.viaversion.com/e84df5f8e04afc6ad87e81774282378fa44ae58020c18004a1fe7046450179ab
Console Error
No response
Bug Description
Giving infinite potion effect (duration as -1 for 1.19.4+) is displayed as 0:00 on older clients, while this isn't a big issue for most of effects, night vision give bothering flashing color transitions for background and would be much better if displayed as a very long duration instead of 0:00 duration
https://i.imgur.com/VJ9Asqj.mp4
An user (server owner) reported this issue to me, thinking my plugin was doing the error, after a fast test from the user it was clear the issue was client version related, so forgive me if i hadn't test if with build from https://ci.viaversion.com/ the issue still persists
Steps to Reproduce
start a server on 1.20.4 connect with a 1.18 client obtain infinite effect of night vision with minecraft command or with any other plugin
Expected Behavior
No flashing screen
Additional Server Info
No response
Checklist