Potentially fixed some Bag of crafting floor item list related issues
This commit is contained in:
1 parent
16f2cd84a3
commit
c8f383c97c
1 file changed
+3
-3
@@ -565,7 +565,7 @@ function EID:handleBagOfCraftingRendering()
|
||||
if EID.Config["DisplayBagOfCrafting"] == "hold" and not string.find(EID.player:GetSprite():GetAnimation(), "PickupWalk") then
|
||||
return false
|
||||
end
|
||||
if detectModdedItems() then
|
||||
if detectModdedItems() or Game():GetRoom():GetFrameCount ()<2 then
|
||||
return false
|
||||
end
|
||||
local curRoomIndex = Game():GetLevel():GetCurrentRoomIndex()
|
||||
@@ -582,11 +582,11 @@ function EID:handleBagOfCraftingRendering()
|
||||
end
|
||||
end
|
||||
end
|
||||
EID.bagOfCraftingRoomQueries[curRoomIndex] = roomItems
|
||||
EID.bagOfCraftingRoomQueries[curRoomIndex..""] = roomItems
|
||||
EID.bagOfCraftingCurPickupCount = #pickups
|
||||
calcFloorItems()
|
||||
else
|
||||
roomItems = EID.bagOfCraftingRoomQueries[curRoomIndex] or {}
|
||||
roomItems = EID.bagOfCraftingRoomQueries[curRoomIndex..""] or {}
|
||||
end
|
||||
|
||||
local itemQuery = {}
|
||||
|
||||
Reference in new issue
Block a user