Infinite potion effect - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: Infinite potion effect (/thread-3204.html) |
Infinite potion effect - MGlolenstine - 08-26-2018 When executing Code: /effect <name> 16 1000000 255 it gives me night vision for 9 minutes and 35 sec instead of showing xx:xx, thus making it infinite. 1000000sec should be somewhere around 11 days and not 10min Thanks in advance RE: Infinite potion effect - bearbin - 08-26-2018 I think this is could be a bug in the server - the duration is cast to a short when it is sent to the client when it could be sent as a regular int. I will investigate it more soon. RE: Infinite potion effect - bearbin - 08-27-2018 I have put in a pull request to hopefully fix the issue: https://github.com/cuberite/cuberite/pull/4293 |