This commit is contained in:
Manuel Simon Hirsig
2016-08-08 21:19:26 +02:00
parent b3e2662d7f
commit e8144efbc5
4 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -265,7 +265,7 @@ function private.SetItemRef(...)
end
function private.PickupContainerItem(...)
if m.modified() or not m.index(m.active_tab.module[1], 'PICKUP_ITEM') then
if m.modified() or not m.index(m.active_tab, 'module', 1, 'PICKUP_ITEM') then
return m.orig.PickupContainerItem(unpack(arg))
end
local item_info = m.info.container_item(arg[1], arg[2])
@@ -275,7 +275,7 @@ function private.PickupContainerItem(...)
end
function private.UseContainerItem(...)
if m.modified() or not m.index(m.active_tab.module[1], 'USE_ITEM') then
if m.modified() or not m.index(m.active_tab, 'module', 1, 'USE_ITEM') then
return m.orig.UseContainerItem(unpack(arg))
end
local item_info = m.info.container_item(arg[1], arg[2])