1
0
mirror of https://github.com/tacigar/maidroid.git synced 2025-01-10 08:10:17 +01:00

Fix indent of maidroid/api

This commit is contained in:
tacigar 2016-12-19 13:44:54 +09:00
parent 05ef0ca2a3
commit 2dd9e6d757

View File

@ -174,12 +174,12 @@ function maidroid.maidroid.pickup_item(self, is_target)
if cond then
local inv = maidroid:get_inventory()
local stack = ItemStack(itemstring)
local leftover = inv:add_item("main", stack)
local stack = ItemStack(itemstring)
local leftover = inv:add_item("main", stack)
minetest.add_item(obj:getpos(), leftover)
obj:get_luaentity().itemstring = ""
obj:remove()
minetest.add_item(obj:getpos(), leftover)
obj:get_luaentity().itemstring = ""
obj:remove()
end
end
end