Mercurial > wow > askmrrobot
comparison Gear.lua @ 183:c6369f8f277c v86
Removed a piece of debugging code causing an issue.
author | yellowfive |
---|---|
date | Sat, 15 Feb 2020 11:16:49 -0800 |
parents | 5c586ff5fee5 |
children | a7f2ba17c39a |
comparison
equal
deleted
inserted
replaced
182:a5c00637bf07 | 183:c6369f8f277c |
---|---|
1295 -- moves any gear in bags to the bank if not part of a gear set | 1295 -- moves any gear in bags to the bank if not part of a gear set |
1296 function Amr:CleanBags() | 1296 function Amr:CleanBags() |
1297 -- TODO: implement | 1297 -- TODO: implement |
1298 end | 1298 end |
1299 | 1299 |
1300 | 1300 --[[ |
1301 local function testfunc(message) | 1301 local function testfunc(message) |
1302 print(strsub(message, 13)) | 1302 print(strsub(message, 13)) |
1303 end | 1303 end |
1304 | 1304 ]] |
1305 | 1305 |
1306 function Amr:InitializeGear() | 1306 function Amr:InitializeGear() |
1307 Amr:AddEventHandler("ACTIVE_TALENT_GROUP_CHANGED", onActiveTalentGroupChanged) | 1307 Amr:AddEventHandler("ACTIVE_TALENT_GROUP_CHANGED", onActiveTalentGroupChanged) |
1308 | 1308 |
1309 Amr:AddEventHandler("CHAT_MSG_CHANNEL", testfunc) | 1309 --Amr:AddEventHandler("CHAT_MSG_CHANNEL", testfunc) |
1310 | 1310 |
1311 Amr:AddEventHandler("UNIT_INVENTORY_CHANGED", function(unitID) | 1311 Amr:AddEventHandler("UNIT_INVENTORY_CHANGED", function(unitID) |
1312 if unitID and unitID ~= "player" then return end | 1312 if unitID and unitID ~= "player" then return end |
1313 | 1313 |
1314 -- don't update during a gear operation, wait until it is totally finished | 1314 -- don't update during a gear operation, wait until it is totally finished |