mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-12 14:39:12 +01:00
Fix rush auto suggestion.
This commit is contained in:
parent
d34679371d
commit
81c74441da
@ -302,7 +302,7 @@ public class FightListener extends CheckListener implements JoinLeaveListener{
|
||||
if (hDist >= 0.23) {
|
||||
// TODO: Might need to check hDist relative to speed / modifiers.
|
||||
final MovingConfig mCc = MovingConfig.getConfig(player);
|
||||
moveInfo.set(damagedPlayer, loc, null, mCc.yOnGround);
|
||||
moveInfo.set(player, loc, null, mCc.yOnGround);
|
||||
if (now <= mData.timeSprinting + mCc.sprintingGrace && MovingUtil.shouldCheckSurvivalFly(player, moveInfo.from, mData, mCc)){
|
||||
// Judge as "lost sprint" problem.
|
||||
// TODO: What would mData.lostSprintCount > 0 mean here?
|
||||
|
Loading…
Reference in New Issue
Block a user