bag type fix, status bar change

This commit is contained in:
Manuel Simon Hirsig
2016-03-24 16:29:54 +01:00
parent d8c1e2fab7
commit f0997eaaf4
4 changed files with 23 additions and 6 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ function private.matching_item(slot, partial)
end
function private.find_empty_slot()
for slot in Aux.util.inventory() do
if not GetContainerItemInfo(unpack(slot)) then
for slot, type in Aux.util.inventory() do
if type == 1 and not GetContainerItemInfo(unpack(slot)) then
return slot
end
end