From c41f6509cf2758945fbc0810ff9d7ab0fc077228 Mon Sep 17 00:00:00 2001
From: _TarkFrench <39446667+Tarku@users.noreply.github.com>
Date: Sat, 26 Oct 2019 19:34:17 +0200
Subject: [PATCH] French translation: fix some errors and ortho (#513)

---
 technic/tools/vacuum.lua |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/technic/tools/vacuum.lua b/technic/tools/vacuum.lua
index f5fac9a..86e6b64 100644
--- a/technic/tools/vacuum.lua
+++ b/technic/tools/vacuum.lua
@@ -24,9 +24,9 @@
 				gain = 0.4,
 			})
 		end
-		local pos = user:getpos()
+		local pos = user:get_pos()
 		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