From 8c69c31cca9bfa41846533c67cf704832e46a51b Mon Sep 17 00:00:00 2001 From: Jess Date: Tue, 28 May 2024 05:59:27 +0100 Subject: [PATCH] first documented use the @Priority annotation --- .../main/java/com/baseband/client/module/movement/Speed.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Client/src/main/java/com/baseband/client/module/movement/Speed.java b/Client/src/main/java/com/baseband/client/module/movement/Speed.java index 2509efd..8942aa5 100644 --- a/Client/src/main/java/com/baseband/client/module/movement/Speed.java +++ b/Client/src/main/java/com/baseband/client/module/movement/Speed.java @@ -3,6 +3,7 @@ package com.baseband.client.module.movement; import com.baseband.client.configuration.annotation.Config; import com.baseband.client.configuration.annotation.Gate; import com.baseband.client.configuration.annotation.Range; +import com.baseband.client.event.Priority; import com.baseband.client.event.events.MoveEvent; import com.baseband.client.event.events.PacketEvent; import com.baseband.client.mixins.IMinecraft; @@ -75,6 +76,9 @@ public class Speed extends Feature { } + //Time will tell. + //higher priority than default, so we can get explosion packets before velocity fucks with them + @Priority(priority = 2) public void onPacketReceive(PacketEvent.Read event) { if (event.getPacket() instanceof SPacketPlayerPosLook && lagBack) { bunnySpeed = 0;