Infinite potion effect
#1
Sport 
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 advanceTongue
Reply
Thanks given by:
#2
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.
Reply
Thanks given by:
#3
I have put in a pull request to hopefully fix the issue: https://github.com/cuberite/cuberite/pull/4293
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)