mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-28 11:28:11 +01:00
Collect block flags after checking isIllegal (!).
This commit is contained in:
parent
68fbbcee1e
commit
2c73a8adb8
@ -344,8 +344,6 @@ public class MovingListener extends CheckListener{
|
||||
|
||||
final MovingConfig cc = MovingConfig.getConfig(player);
|
||||
moveInfo.set(player, from, to, cc.yOnGround);
|
||||
pFrom.collectBlockFlags(cc.noFallyOnGround);
|
||||
pTo.collectBlockFlags(cc.noFallyOnGround);
|
||||
final MovingData data = MovingData.getData(player);
|
||||
data.noFallAssumeGround = false;
|
||||
data.teleported = null;
|
||||
@ -357,6 +355,8 @@ public class MovingListener extends CheckListener{
|
||||
parkedInfo.add(moveInfo);
|
||||
return;
|
||||
}
|
||||
pFrom.collectBlockFlags(cc.noFallyOnGround);
|
||||
pTo.collectBlockFlags(cc.noFallyOnGround);
|
||||
|
||||
final EntityPlayer mcPlayer = pFrom.getEntityPlayer();
|
||||
// Potion effect "Jump".
|
||||
|
Loading…
Reference in New Issue
Block a user