Packetfly Fixes/Cleanup
- Corrected vertical speed max - Removed NoClip (Useless)
This commit is contained in:
@@ -41,7 +41,7 @@ public class PacketFly extends Module {
|
|||||||
.description("Vertical speed in blocks per second.")
|
.description("Vertical speed in blocks per second.")
|
||||||
.defaultValue(1.24)
|
.defaultValue(1.24)
|
||||||
.min(0.0)
|
.min(0.0)
|
||||||
.max(5.0)
|
.max(20.0)
|
||||||
.sliderMin(0.0)
|
.sliderMin(0.0)
|
||||||
.sliderMax(20.0)
|
.sliderMax(20.0)
|
||||||
.build()
|
.build()
|
||||||
@@ -82,13 +82,6 @@ public class PacketFly extends Module {
|
|||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
|
|
||||||
private final Setting<Boolean> noClip = sgClient.add(new BoolSetting.Builder()
|
|
||||||
.name("NoClip")
|
|
||||||
.description("Makes the client ignore walls.")
|
|
||||||
.defaultValue(false)
|
|
||||||
.build()
|
|
||||||
);
|
|
||||||
|
|
||||||
private final Setting<Boolean> antiKick = sgBypass.add(new BoolSetting.Builder()
|
private final Setting<Boolean> antiKick = sgBypass.add(new BoolSetting.Builder()
|
||||||
.name("Anti Kick")
|
.name("Anti Kick")
|
||||||
.description("Moves down occasionally to prevent kicks.")
|
.description("Moves down occasionally to prevent kicks.")
|
||||||
@@ -150,9 +143,6 @@ public class PacketFly extends Module {
|
|||||||
public void onMove (PlayerMoveEvent event) {
|
public void onMove (PlayerMoveEvent event) {
|
||||||
if (setMove.get() && flightCounter != 0) {
|
if (setMove.get() && flightCounter != 0) {
|
||||||
event.movement = new Vec3d(mc.player.getVelocity().x, mc.player.getVelocity().y, mc.player.getVelocity().z);
|
event.movement = new Vec3d(mc.player.getVelocity().x, mc.player.getVelocity().y, mc.player.getVelocity().z);
|
||||||
if (noClip.get() && checkHitBoxes()) {
|
|
||||||
mc.player.noClip = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user