Merge pull request #8530 from TheStonedTurtle/poison-fix

Fix status bar poison background color
This commit is contained in:
Adam
2019-04-15 20:56:04 -04:00
committed by GitHub

View File

@@ -151,14 +151,14 @@ class StatusBarsOverlay extends Overlay
final int poisonState = client.getVar(VarPlayer.IS_POISONED);
final Color healthBar;
if (poisonState > 0 && poisonState < 50)
{
healthBar = POISONED_COLOR;
}
else if (poisonState >= 1000000)
if (poisonState >= 1000000)
{
healthBar = VENOMED_COLOR;
}
else if (poisonState > 0)
{
healthBar = POISONED_COLOR;
}
else
{
healthBar = HEALTH_COLOR;