module refactoring

This commit is contained in:
Manuel Simon Hirsig
2017-11-01 08:52:39 +01:00
committed by Simon Hirsig
parent 5e093306e6
commit 62ef2683f5
15 changed files with 69 additions and 97 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ function M.item_quality_index(item_quality)
end
end
function M.get_inventory()
function M.get.inventory()
local bag, slot = 0, 0
return function()
if not GetBagName(bag) or slot >= GetContainerNumSlots(bag) then