Skip to content

Commit

Permalink
Fixed gear for export
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokimmel committed Jul 28, 2022
1 parent 4ab3bb9 commit c640b07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/WizardsWardrobeTransfer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ function WWT.Export(zone, pageId, index)
for _, gearSlot in ipairs(WW.GEARSLOTS) do
local savedGear = setup:GetGearInSlot(gearSlot)
if savedGear then
if gearSlot == EQUIP_SLOT_POISON
or gearSlot == EQUIP_SLOT_BACKUP_POISON
or gearSlot == EQUIP_SLOT_COSTUME then
if gearSlot ~= EQUIP_SLOT_POISON
and gearSlot ~= EQUIP_SLOT_BACKUP_POISON
and gearSlot ~= EQUIP_SLOT_COSTUME then

exportTable.gear[tostring(gearSlot)] = {
GetItemLinkEquipType(savedGear.link), -- equipType
Expand Down

0 comments on commit c640b07

Please sign in to comment.