Fix status bar poison background color
This commit is contained in:
@@ -151,14 +151,14 @@ class StatusBarsOverlay extends Overlay
|
|||||||
final int poisonState = client.getVar(VarPlayer.IS_POISONED);
|
final int poisonState = client.getVar(VarPlayer.IS_POISONED);
|
||||||
final Color healthBar;
|
final Color healthBar;
|
||||||
|
|
||||||
if (poisonState > 0 && poisonState < 50)
|
if (poisonState >= 1000000)
|
||||||
{
|
|
||||||
healthBar = POISONED_COLOR;
|
|
||||||
}
|
|
||||||
else if (poisonState >= 1000000)
|
|
||||||
{
|
{
|
||||||
healthBar = VENOMED_COLOR;
|
healthBar = VENOMED_COLOR;
|
||||||
}
|
}
|
||||||
|
else if (poisonState > 0)
|
||||||
|
{
|
||||||
|
healthBar = POISONED_COLOR;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
healthBar = HEALTH_COLOR;
|
healthBar = HEALTH_COLOR;
|
||||||
|
|||||||
Reference in New Issue
Block a user