mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-06 10:27:26 +02:00
Let NoFall be more generous with the on-ground search.
Extend xz and y margins.
This commit is contained in:
parent
7b4fe7acc4
commit
a7c4539783
@ -1096,7 +1096,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||||||
moveInfo.from.collectBlockFlags(cc.noFallyOnGround);
|
moveInfo.from.collectBlockFlags(cc.noFallyOnGround);
|
||||||
// Be sure not to lose that block.
|
// Be sure not to lose that block.
|
||||||
data.noFallFallDistance += 1.0;
|
data.noFallFallDistance += 1.0;
|
||||||
if (!pLoc.isOnGround(1.0) && !pLoc.isResetCond() && !pLoc.isAboveLadder() && !pLoc.isAboveStairs()){
|
if (!pLoc.isOnGround(1.0, 0.3, 0.1) && !pLoc.isResetCond() && !pLoc.isAboveLadder() && !pLoc.isAboveStairs()){
|
||||||
// Likely a new style no-fall bypass (damage in mid-air).
|
// Likely a new style no-fall bypass (damage in mid-air).
|
||||||
data.noFallVL += 1.0;
|
data.noFallVL += 1.0;
|
||||||
if (noFall.executeActions(player, data.noFallVL, 1.0, cc.noFallActions, true) && data.hasSetBack()){
|
if (noFall.executeActions(player, data.noFallVL, 1.0, cc.noFallActions, true) && data.hasSetBack()){
|
||||||
|
Loading…
Reference in New Issue
Block a user