diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-06-27 18:45:30 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 18:45:30 +1000 |
commit | c18352ccb6b71b14961adab81032c44d7cc2b3d3 (patch) | |
tree | 748891b50421ede1a2273760b7ecac1db8531177 /src/main/kotlin/io | |
parent | 3afaada8856709250573cfdb02222102d4361343 (diff) | |
download | NotEnoughUpdates-c18352ccb6b71b14961adab81032c44d7cc2b3d3.tar.gz NotEnoughUpdates-c18352ccb6b71b14961adab81032c44d7cc2b3d3.tar.bz2 NotEnoughUpdates-c18352ccb6b71b14961adab81032c44d7cc2b3d3.zip |
Recent Pv profiles (#727)
Diffstat (limited to 'src/main/kotlin/io')
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/ProfileViewerCommands.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/ProfileViewerCommands.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/ProfileViewerCommands.kt index 41cd6b0f..d25e880b 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/ProfileViewerCommands.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/ProfileViewerCommands.kt @@ -24,6 +24,7 @@ import io.github.moulberry.notenoughupdates.NotEnoughUpdates import io.github.moulberry.notenoughupdates.autosubscribe.NEUAutoSubscribe import io.github.moulberry.notenoughupdates.events.RegisterBrigadierCommandEvent import io.github.moulberry.notenoughupdates.profileviewer.GuiProfileViewer +import io.github.moulberry.notenoughupdates.profileviewer.ProfileViewerUtils import io.github.moulberry.notenoughupdates.util.brigadier.* import net.minecraft.client.Minecraft import net.minecraft.client.renderer.OpenGlHelper @@ -56,6 +57,7 @@ class ProfileViewerCommands { reply("${RED}Invalid player name/API key. Maybe the API is down? Try /api new.") } else { profile.resetCache() + ProfileViewerUtils.saveSearch(name) NotEnoughUpdates.INSTANCE.openGui = GuiProfileViewer(profile) } } |