mirror of
https://github.com/tacigar/maidroid.git
synced 2025-01-25 15:00:22 +01:00
Fix indent of maidroid/api
This commit is contained in:
parent
05ef0ca2a3
commit
2dd9e6d757
@ -174,12 +174,12 @@ function maidroid.maidroid.pickup_item(self, is_target)
|
|||||||
|
|
||||||
if cond then
|
if cond then
|
||||||
local inv = maidroid:get_inventory()
|
local inv = maidroid:get_inventory()
|
||||||
local stack = ItemStack(itemstring)
|
local stack = ItemStack(itemstring)
|
||||||
local leftover = inv:add_item("main", stack)
|
local leftover = inv:add_item("main", stack)
|
||||||
|
|
||||||
minetest.add_item(obj:getpos(), leftover)
|
minetest.add_item(obj:getpos(), leftover)
|
||||||
obj:get_luaentity().itemstring = ""
|
obj:get_luaentity().itemstring = ""
|
||||||
obj:remove()
|
obj:remove()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user