Packetfly Fixes/Cleanup

- Corrected vertical speed max
- Removed NoClip (Useless)
This commit is contained in:
hashalite
2021-06-24 20:36:23 -04:00
parent c136fa0f7b
commit ffbe441c21

View File

@@ -41,7 +41,7 @@ public class PacketFly extends Module {
.description("Vertical speed in blocks per second.")
.defaultValue(1.24)
.min(0.0)
.max(5.0)
.max(20.0)
.sliderMin(0.0)
.sliderMax(20.0)
.build()
@@ -82,13 +82,6 @@ public class PacketFly extends Module {
.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()
.name("Anti Kick")
.description("Moves down occasionally to prevent kicks.")
@@ -150,9 +143,6 @@ public class PacketFly extends Module {
public void onMove (PlayerMoveEvent event) {
if (setMove.get() && flightCounter != 0) {
event.movement = new Vec3d(mc.player.getVelocity().x, mc.player.getVelocity().y, mc.player.getVelocity().z);
if (noClip.get() && checkHitBoxes()) {
mc.player.noClip = true;
}
}
}