small refactorings, small bugfix and shift click linking item names now always inserts a name without suffix (would otherwise not work anyway)

This commit is contained in:
Manuel Simon Hirsig
2015-09-27 02:20:37 +02:00
parent 60a4f1bf61
commit 3ab03468b2
4 changed files with 31 additions and 20 deletions
+5
View File
@@ -4,6 +4,11 @@ local itemlink_item, item_id, item_charges
function Aux.info.container_item(bag, slot)
local itemlink = GetContainerItemLink(bag, slot)
if not itemlink then
return
end
local container_item = itemlink_item(itemlink)
local texture, count, locked, quality, readable, lootable, itemlink = GetContainerItemInfo(bag, slot)