Skip to content

Commit 5d53e5e

Browse files
authored
Update AutoGap setting to check for absorption instead of resistance (#5625)
1 parent 62a08e5 commit 5d53e5e

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/meteordevelopment/meteorclient/systems/modules/player

1 file changed

+3
-3
lines changed

src/main/java/meteordevelopment/meteorclient/systems/modules/player/AutoGap.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public class AutoGap extends Module {
8989
.build()
9090
);
9191

92-
private final Setting<Boolean> potionsResistance = sgPotions.add(new BoolSetting.Builder()
92+
private final Setting<Boolean> potionsAbsorption = sgPotions.add(new BoolSetting.Builder()
9393
.name("potions-absorption")
94-
.description("If it should eat when Resistance runs out. Requires E-Gaps.")
94+
.description("If it should eat when Absorption runs out. Requires E-Gaps.")
9595
.defaultValue(false)
9696
.visible(allowEgap::get)
9797
.build()
@@ -264,7 +264,7 @@ private boolean shouldEatPotions() {
264264
}
265265

266266
// Absorption
267-
if (potionsResistance.get() && !effects.containsKey(StatusEffects.RESISTANCE)) {
267+
if (potionsAbsorption.get() && !effects.containsKey(StatusEffects.ABSORPTION)) {
268268
requiresEGap = true;
269269
return true;
270270
}

0 commit comments

Comments
 (0)