Skip to content

Commit

Permalink
Merge pull request #404 from chsami/development
Browse files Browse the repository at this point in the history
1.5.2
  • Loading branch information
chsami authored Oct 9, 2024
2 parents b0de1d1 + 8ec36df commit 1ffba40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public static boolean hopIfPlayerDetected(int amountOfPlayers, int time, int dis
public static boolean eatAt(int percentage) {
double treshHold = (double) (Microbot.getClient().getBoostedSkillLevel(Skill.HITPOINTS) * 100) / Microbot.getClient().getRealSkillLevel(Skill.HITPOINTS);
if (treshHold <= percentage) {
useFood();
return useFood();
}
return false;
}
Expand Down

0 comments on commit 1ffba40

Please sign in to comment.