diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-18 18:48:17 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-18 10:48:17 +0200 |
| commit | 0992f11c8063aa468d3eda2925e87b141453e3d5 (patch) | |
| tree | efe147589fb922a61845573dc90923afa995c8e4 | |
| parent | b23d0a2767f74705d5c41a4a3bf67563c81f9219 (diff) | |
| download | notenoughupdates-0992f11c8063aa468d3eda2925e87b141453e3d5.tar.gz notenoughupdates-0992f11c8063aa468d3eda2925e87b141453e3d5.tar.bz2 notenoughupdates-0992f11c8063aa468d3eda2925e87b141453e3d5.zip | |
Fix pet xp/h being wrong after swapping pets (#1339)
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java index a6a0f844..66565be2 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java @@ -186,6 +186,8 @@ public class PetInfoOverlay extends TextOverlay { xpGainHourSecondPet = xpGainHour; xpGainHourLast = xpGainHour; xpHourMap.clear(); + xpGainHourLast = -1; + xpGainHour = -1; config.selectedPet = index; } |
