diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2022-09-13 00:24:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 16:24:07 +0200 |
commit | 16fedc90309a898bc709eaadc944fd047300fd0d (patch) | |
tree | 1bbb64a8df4736d13c6fd63b0b26c8baf3275321 /src/main/java | |
parent | 1fec0d019215df8c57d410c18bd06445d8c2ded7 (diff) | |
download | NotEnoughUpdates-16fedc90309a898bc709eaadc944fd047300fd0d.tar.gz NotEnoughUpdates-16fedc90309a898bc709eaadc944fd047300fd0d.tar.bz2 NotEnoughUpdates-16fedc90309a898bc709eaadc944fd047300fd0d.zip |
Fixed pet overlay going to level 100 (#268)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java b/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java index 58794e07..81eea343 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java @@ -187,6 +187,7 @@ public class XPInformation { skillInfo.currentXp += updateWithPercentage.get(skill) / 100f * cap; skillInfo.totalXp += skillInfo.currentXp; skillInfo.currentXpMax = cap; + break; } else { skillInfo.totalXp += cap; } |