From 221900b8a8619be04eb90a176c16c276a5e34521 Mon Sep 17 00:00:00 2001 From: Zylox <76428709+0xZylox@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:53:41 +0200 Subject: [PATCH] Fix --- cheat-library/src/user/cheat/game/Chest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-library/src/user/cheat/game/Chest.cpp b/cheat-library/src/user/cheat/game/Chest.cpp index 4938f3e..e996bea 100644 --- a/cheat-library/src/user/cheat/game/Chest.cpp +++ b/cheat-library/src/user/cheat/game/Chest.cpp @@ -20,7 +20,7 @@ namespace cheat::game if (name().find("TreasureBox") != std::string::npos) m_ItemType = ItemType::Chest; - else if (name().find("Search") != std::string::npos || name().find("JunkChest") != std::string::npos || name().find("SumeruCrudeChest")) + else if (name().find("Search") != std::string::npos || name().find("JunkChest") != std::string::npos || name().find("SumeruCrudeChest") != std::string::npos) m_ItemType = ItemType::Investigate; else if (name().find("BookPage") != std::string::npos) m_ItemType = ItemType::BookPage;