mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-31 07:40:16 +01:00
MovingData.onSetBack: also reset more-packets/vehicle set-backs.
This commit is contained in:
parent
92adc71ccd
commit
15d2346dea
@ -167,7 +167,8 @@ public class MovingData extends ACheckData {
|
||||
public void onSetBack(final Location setBack) {
|
||||
// Reset positions
|
||||
resetPositions(teleported);
|
||||
this.setBack = teleported;
|
||||
// NOTE: Do mind that the reference is used diredctly for set-backs, should stay consistent, though.
|
||||
this.setBack = this.morePacketsSetback = this.morePacketsVehicleSetback = teleported;
|
||||
clearAccounting(); // Might be more safe to do this.
|
||||
// Keep no-fall data.
|
||||
// Fly data: problem is we don't remember the settings for the set back location.
|
||||
|
Loading…
Reference in New Issue
Block a user