From e9fb5ea39a1a5d359dde2fcb93b6f3b673acc285 Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Mon, 6 Apr 2026 21:09:01 -0500 Subject: [PATCH] fix: make `dlcCheckForCorrupt` discardable from the surrounding context, it seems like this is only called to alert the user rather than the result being used. --- targets/minecraft/IGameServices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/minecraft/IGameServices.h b/targets/minecraft/IGameServices.h index e3910cfb7..ed89c25f7 100644 --- a/targets/minecraft/IGameServices.h +++ b/targets/minecraft/IGameServices.h @@ -204,7 +204,7 @@ public: [[nodiscard]] virtual DLCSkinFile* getDLCSkinFile( const std::wstring& name) = 0; [[nodiscard]] virtual bool dlcNeedsCorruptCheck() = 0; - [[nodiscard]] virtual unsigned int dlcCheckForCorrupt(bool showMessage = true) = 0; + virtual unsigned int dlcCheckForCorrupt(bool showMessage = true) = 0; [[nodiscard]] virtual bool dlcReadDataFile(unsigned int& filesProcessed, const std::wstring& path, DLCPack* pack, bool fromArchive = false) = 0;