diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-03-12 02:00:38 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 16:00:38 +0100 |
commit | 95e17c191b8a0bdfa5af09a9cf658fe741ecaafc (patch) | |
tree | aba42bec9e134cf4c4fac95f986a464c3c70ce73 /src/main | |
parent | 14ebdfce401ff955d6d00bf00684ac1058d26259 (diff) | |
download | NotEnoughUpdates-95e17c191b8a0bdfa5af09a9cf658fe741ecaafc.tar.gz NotEnoughUpdates-95e17c191b8a0bdfa5af09a9cf658fe741ecaafc.tar.bz2 NotEnoughUpdates-95e17c191b8a0bdfa5af09a9cf658fe741ecaafc.zip |
Fix champion showing -1 on combat overlay if you dont have it (#647)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java index 45ce0098..3bd5150f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java @@ -245,7 +245,7 @@ public class CombatSkillOverlay lineMap.put(0, EnumChatFormatting.AQUA + "Kills: " + EnumChatFormatting.YELLOW + format.format(counterInterp)); } - if (championTier <= 9) { + if (championTier <= 9 && championXp >= 0) { int counterInterp = (int) interp(championXp, championXpLast); lineMap.put( 6, |