From 2dd9e6d7572c80207bd8a51ad54967cb7657f2d2 Mon Sep 17 00:00:00 2001 From: tacigar Date: Mon, 19 Dec 2016 13:44:54 +0900 Subject: [PATCH] Fix indent of maidroid/api --- maidroid/api.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/maidroid/api.lua b/maidroid/api.lua index 16cd3fb..6590727 100644 --- a/maidroid/api.lua +++ b/maidroid/api.lua @@ -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