Начинающий
- Статус
- Оффлайн
- Регистрация
- 21 Фев 2024
- Сообщения
- 179
- Реакции
- 1
Код:
@FunctionRegister(name = "FastEat", type = Category.Player)
public class FastEat extends Function {
@Subscribe
public void onUpdate(EventUpdate e){
if (im.Vortex.functions.impl.movement.ClickTP.mc.player.getItemInUseMaxCount() >= 12 && (im.Vortex.functions.impl.movement.ClickTP.mc.player.isHandActive())) {
for (int i = 0; i < 10; ++i) {
im.Vortex.functions.impl.movement.ClickTP.mc.player.connection.sendPacket(new CPlayerPacket(im.Vortex.functions.impl.movement.ClickTP.mc.player.isOnGround()));
}
im.Vortex.functions.impl.movement.ClickTP.mc.player.stopActiveHand();
}
}