aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-09-24 00:14:51 +1000
committerGitHub <noreply@github.com>2022-09-24 00:14:51 +1000
commited610c9c1aa705e064638fc532a8447ae550e0b6 (patch)
tree4e5a5a4f90f1578f7c8e3a95fc0f67e30b016fe0 /src/main/java/io
parent61c53c0054431e75826d071dfb363406b5763195 (diff)
downloadNotEnoughUpdates-ed610c9c1aa705e064638fc532a8447ae550e0b6.tar.gz
NotEnoughUpdates-ed610c9c1aa705e064638fc532a8447ae550e0b6.tar.bz2
NotEnoughUpdates-ed610c9c1aa705e064638fc532a8447ae550e0b6.zip
Fixed combat overlay always showing if you have champion enchant (#304)
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java1
1 files changed, 1 insertions, 0 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 bf106eed..d73b5eb2 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/CombatSkillOverlay.java
@@ -82,6 +82,7 @@ public class CombatSkillOverlay
public void update() {
if (!NotEnoughUpdates.INSTANCE.config.skillOverlays.combatSkillOverlay) {
kill = -1;
+ championXp = -1;
overlayStrings = null;
return;
}