fix get_wield_item_stack function

This commit is contained in:
tacigar 2016-12-06 13:25:06 +09:00
parent 47cd917363
commit aebdd7f0b0

View File

@ -126,7 +126,7 @@ function maidroid.maidroid.get_wield_item_stack(self)
if inv:is_empty("wield_item") then
return nil
end
return inv:get_stack(1)
return inv:get_stack("wield_item", 1)
end
---------------------------------------------------------------------