mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Need to use isOnGroundOrResetCond here.
This commit is contained in:
parent
c08366b59b
commit
187a7ef094
@ -1166,7 +1166,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||||||
|
|
||||||
// More resetting.
|
// More resetting.
|
||||||
data.vDistAcc.clear();
|
data.vDistAcc.clear();
|
||||||
data.toWasReset = BlockProperties.isOnGround(player, loc, cc.yOnGround);
|
data.toWasReset = BlockProperties.isOnGroundOrResetCond(player, loc, cc.yOnGround);
|
||||||
data.fromWasReset = data.toWasReset;
|
data.fromWasReset = data.toWasReset;
|
||||||
|
|
||||||
// Hover.
|
// Hover.
|
||||||
|
Loading…
Reference in New Issue
Block a user