Fixed BoC Search being activateable when no recipes are visible

This commit is contained in:
Wofsauge committed 2024-06-16 19:19:51 +02:00
1 parent e6cca3689d
commit 5992b11e0c
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ function EID:BoCSHandleInput()
return
end
if EID.bagPlayer == nil then
if EID.bagPlayer == nil or not EID.BoC.IsDisplayingDescription or not EID.Config["BagOfCraftingDisplayRecipesMode"]:find("Recipe List") then
return
end