Skip to content

Commit bdfdee2

Browse files
committed
fix bugs from previous commit
1 parent 5e7feb9 commit bdfdee2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QEGearImporter/questionablyepic_enhanced.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ function scanGear()
132132
addPrint("")
133133
addPrint("### GEAR FROM BAGS ###")
134134

135-
for bag=0, NUM_BAG_SLOTS + GetNumBankSlots() do
136-
if GetContainerNumSlots(bag) != 0 then
135+
for bag=0, (NUM_BAG_SLOTS + GetNumBankSlots()) do
136+
if (GetContainerNumSlots(bag) ~= 0) then
137137
for bagSlots=1, GetContainerNumSlots(bag) do
138138
--print("Inside the bag this time");
139139
local itemID = GetContainerItemID(bag, bagSlots);

0 commit comments

Comments
 (0)