mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-15 08:28:10 +02:00
c27c03cf8e
No change for the function of the plugin, except if there are new bugs. Actual changes: * Keep track of squared distance to the previous element in a trace. * Balance mergeDist: prevent merging the latest entry, if the squared distance from the latest to the second latest element is greater than mergeDist. Never merge if there are only two entries in total. * Add convenience methods for resetting and updating the trace. * Maintain the moving traces actively. With intended use being player-player interaction, we will not reset with every teleport. |
||
---|---|---|
.. | ||
src | ||
pom.xml |