Bypass SendPacketEvent for Criticals motion updates
This solves interception by NoFall causing the packets to not set a fall damagemain
parent
f21aadb117
commit
e174655189
|
@ -21,14 +21,14 @@ class Criticals : Feature("Criticals", FeatureCategory.COMBAT) {
|
|||
return@on
|
||||
|
||||
player.isSprinting = false
|
||||
player.networkHandler.sendPacket(
|
||||
player.networkHandler.connection.send(
|
||||
ClientCommandC2SPacket(
|
||||
player,
|
||||
ClientCommandC2SPacket.Mode.STOP_SPRINTING
|
||||
)
|
||||
)
|
||||
|
||||
player.networkHandler.sendPacket(
|
||||
player.networkHandler.connection.send(
|
||||
PlayerMoveC2SPacket.PositionAndOnGround(
|
||||
player.x,
|
||||
player.y + 0.0625,
|
||||
|
@ -37,7 +37,7 @@ class Criticals : Feature("Criticals", FeatureCategory.COMBAT) {
|
|||
)
|
||||
)
|
||||
|
||||
player.networkHandler.sendPacket(
|
||||
player.networkHandler.connection.send(
|
||||
PlayerMoveC2SPacket.PositionAndOnGround(
|
||||
player.x,
|
||||
player.y,
|
||||
|
|
Loading…
Reference in New Issue