perhaps
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 18m19s

This commit is contained in:
Jess H 2024-06-15 00:39:10 +01:00
parent cf4d4d8543
commit fcb1b0ed9f
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -14,7 +14,7 @@ public class FastUse extends Feature {
@Override
public void onTick() {
if (!notIngame() && mc.player.isHandActive() && !Features.getFeature(AutoEat.class).eating) {
if (mc.gameSettings.keyBindUseItem.isKeyDown() && !Features.getFeature(AutoEat.class).eating) {
mc.getConnection().sendPacket(new CPacketPlayerTryUseItem(mc.player.getActiveHand()));
}
}