Introduce a hack_threshold value to be able to change and test how much "hack" is needed to compensate the server lag.
hack_threshold is a value that indicates by how many blocks we shall put the cart back on the rails if it goes off.
I've set hack_threshold = 10 for now, but it's just a guess. Try on the server and adapt the value accordingly.
Introduce a hack_threshold value to be able to change and test how much "hack" is needed to compensate the server lag. hack_threshold is a value that indicates by how many blocks we shall put the cart back on the rails if it goes off. I've set hack_threshold = 10 for now, but it's just a guess. Try on the server and adapt the value accordingly.