From d97e664ed74d82423c939d7f1f3192dfa844ae29 Mon Sep 17 00:00:00 2001 From: Jess Date: Tue, 28 May 2024 05:18:20 +0100 Subject: [PATCH] more autoeat fixes --- .../src/main/java/com/baseband/client/module/world/AutoEat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/com/baseband/client/module/world/AutoEat.java b/Client/src/main/java/com/baseband/client/module/world/AutoEat.java index 2617bd2..5dd12dd 100644 --- a/Client/src/main/java/com/baseband/client/module/world/AutoEat.java +++ b/Client/src/main/java/com/baseband/client/module/world/AutoEat.java @@ -83,7 +83,7 @@ public class AutoEat extends Feature { stack.getItem() instanceof ItemFood //it has to be food bruh && !(stack.getItem() instanceof ItemChorusFruit) //not a chorus fruit you ret-.... dumbfuck && ((20 - currentHunger) >= ((ItemFood) stack.getItem()).getHealAmount(stack) //if hunger low and food wanted refills the amount left - || (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 19D && mc.player.getActivePotionEffect(MobEffects.REGENERATION) == null || mc.player.getActivePotionEffect(MobEffects.ABSORPTION) == null) //is golden apple and our health is less than 19 and we don't have regen + || (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 19D && (mc.player.getActivePotionEffect(MobEffects.REGENERATION) == null || mc.player.getActivePotionEffect(MobEffects.ABSORPTION) == null)) //is golden apple and our health is less than 19 and we don't have regen || (stack.getItem() instanceof ItemAppleGold && mc.player.getActivePotionEffect(MobEffects.FIRE_RESISTANCE) == null) && mc.player.isBurning()); //is golden apple and we don't have fire res and we're burning } }