mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-26 18:37:59 +01:00
Attempt to fix issues with (non exact) respawn.
This commit is contained in:
parent
0eaf9587d8
commit
ce3d1ba89c
@ -789,9 +789,10 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
||||
final MovingData data = MovingData.getData(player);
|
||||
data.clearFlyData();
|
||||
data.clearMorePacketsData();
|
||||
data.setSetBack(event.getRespawnLocation());
|
||||
data.resetSetBack();
|
||||
// TODO: consider data.resetPositions(data.setBack);
|
||||
// (Not putting hover in at respawn due to chunk sending.)
|
||||
// TODO: Might use grace ticks for this too (and bigger teleports).
|
||||
// final MovingConfig cc = MovingConfig.getConfig(player);
|
||||
// if (cc.sfHoverCheck){
|
||||
// // Assume the player might be hovering.
|
||||
|
Loading…
Reference in New Issue
Block a user