private void onUpdateWalkingPlayer() {
if (Infinity.instance.featureManager.getFeature(FreeCam.class).isEnabled())
return;
EventManager.call(new EventForDisabler());
boolean flag = this.isSprinting();
if (this.onGround) {
this.offGroundTicks = 0;
++this.onGroundTicks;
} else {
this.onGroundTicks = 0;
++this.offGroundTicks;
}