forked from mtcontrib/maidroid
fix get_wield_item_stack function
This commit is contained in:
parent
47cd917363
commit
aebdd7f0b0
@ -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
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user