Fixed some situations where the bag of crafting content isnt tracked correctly
This commit is contained in:
1 parent
896141c5e2
commit
fe7891aa74
2 files changed
+26
-8
No files matched your search
@@ -484,12 +484,10 @@ local function onRender(t)
|
||||
else
|
||||
EID:removeTextPosModifier("Tained HUD")
|
||||
end
|
||||
if EID.player:HasCollectible(710) and EID.Config["DisplayBagOfCrafting"] ~= "never" then
|
||||
if EID.Config["DisplayBagOfCrafting"] == "always" or (EID.Config["DisplayBagOfCrafting"] == "hold" and string.find(EID.player:GetSprite():GetAnimation(), "PickupWalk")) then
|
||||
local success = EID:handleBagOfCraftingRendering()
|
||||
if success then
|
||||
return
|
||||
end
|
||||
if EID.player:HasCollectible(710) then
|
||||
local success = EID:handleBagOfCraftingRendering()
|
||||
if success then
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user