diff options
author | GodOfPro <59516901+GodOfProDev@users.noreply.github.com> | 2022-12-25 14:18:51 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 11:48:51 +0100 |
commit | 0cba03b165fc66cf2c56e1a5669024f2976d2f9c (patch) | |
tree | d7dd85c1c113c4937abd3f4a6de6d24ccf35e4ac /src/main/java | |
parent | 9cc5c71a0a8812a14cdc39d7a6b020506fb336cd (diff) | |
download | NotEnoughUpdates-0cba03b165fc66cf2c56e1a5669024f2976d2f9c.tar.gz NotEnoughUpdates-0cba03b165fc66cf2c56e1a5669024f2976d2f9c.tar.bz2 NotEnoughUpdates-0cba03b165fc66cf2c56e1a5669024f2976d2f9c.zip |
Fix total kills, deaths not being reset on profile switch (#512)
Override the reset cache
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java index 4c58e57a..a1b15b82 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java @@ -590,4 +590,10 @@ public class ExtraPage extends GuiProfileViewerPage { } return null; } + + @Override + public void resetCache() { + topDeaths = null; + topKills = null; + } } |