From aa82fa1d1379ca2adc552a5e90cfa9a77da3edd6 Mon Sep 17 00:00:00 2001 From: Lejo <Lejo_1@web.de> Date: Sun, 09 Dec 2018 15:57:48 +0100 Subject: [PATCH] Forcefield: Remove deprecated update_map() call (#467) --- technic/tools/vacuum.lua | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/tools/vacuum.lua b/technic/tools/vacuum.lua index f5fac9a..b5afcb5 100644 --- a/technic/tools/vacuum.lua +++ b/technic/tools/vacuum.lua @@ -26,7 +26,7 @@ end local pos = user:getpos() local inv = user:get_inventory() - for _, object in ipairs(minetest.env:get_objects_inside_radius(pos, vacuum_range)) do + for _, object in ipairs(minetest.get_objects_inside_radius(pos, vacuum_range)) do local luaentity = object:get_luaentity() if not object:is_player() and luaentity and luaentity.name == "__builtin:item" and luaentity.itemstring ~= "" then if inv and inv:room_for_item("main", ItemStack(luaentity.itemstring)) then @@ -55,7 +55,7 @@ output = 'technic:vacuum', recipe = { {'pipeworks:tube_1', 'pipeworks:filter', 'technic:battery'}, - {'pipeworks:tube_1', 'technic:motor', 'technic:battery'}, + {'pipeworks:tube_1', 'basic_materials:motor', 'technic:battery'}, {'technic:stainless_steel_ingot', '', ''}, } }) -- Gitblit v1.8.0