first documented use the @Priority annotation
This commit is contained in:
parent
527c86074b
commit
8c69c31cca
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue