Fixed web falses in NoFall (B) and Velocity (B)

This commit is contained in:
Dawson
2022-09-03 13:01:04 -04:00
parent ae249be0e3
commit 49d102c8d3
2 changed files with 2 additions and 0 deletions
@@ -52,6 +52,7 @@ public class NoFallB extends Check {
if(!packet.isOnGround() && player.getInfo().vehicleSwitch.isPassed(20)
&& !player.getBlockInfo().inLiquid
&& player.getInfo().lastWeb.isPassed(1)
&& ((player.getInfo().isServerGround() || player.getBlockInfo().blocksBelow)
&& dground && !player.getBlockInfo().onHalfBlock)) {
if((airBuffer +=10) > 30) {
@@ -72,6 +72,7 @@ public class VelocityB extends Check {
if (player.getMovement().getMoveTicks() == 0
|| player.getInfo().isGeneralCancel()
|| player.getBlockInfo().onClimbable
|| player.getInfo().lastWeb.isNotPassed(2)
|| player.getInfo().lastLiquid.isNotPassed(2)
|| player.getBlockInfo().collidesHorizontally) {
ticks = 0;