mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-18 09:51:17 +02:00
Bleeding: Use collecting flags before checking.
This commit is contained in:
parent
82cf9b1c47
commit
37bca8836b
@ -344,6 +344,8 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user