CobbleSword / NachoSpigot

NachoSpigot is a fork of TacoSpigot 1.8.9 that offers several enhancements to performance as well as bug fixes.
GNU General Public License v3.0
237 stars 86 forks source link

Fix LagCompensator and other minor improvements to it #355

Closed jandrokt closed 2 years ago

jandrokt commented 2 years ago

Description

One of the changes in the LagCompensator made it not check for the victim's location respective to the attacker's ping, and instead made it check the victim's location based on the victim's ping, so that was pretty bad. I've also done some improvements and minor changes based on what @HeathLoganCampbell suggested.

How has this been tested?

I've tested the changes on a testing server I have.

Checklist:

Sculas commented 2 years ago

Thanks a lot, @notdap for this PR! :)