From e90b28895cc28daf1a2e4fb772bd191400cf9e62 Mon Sep 17 00:00:00 2001
From: fgrosswig <falk@grosswig.de>
Date: Mon, 06 Jan 2020 21:50:15 +0100
Subject: [PATCH] battery_box.lua: Make "srcstack" local (#525)

---
 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 037f3bb..86e6b64 100644
--- a/technic/tools/vacuum.lua
+++ b/technic/tools/vacuum.lua
@@ -24,7 +24,7 @@
 				gain = 0.4,
 			})
 		end
-		local pos = user:getpos()
+		local pos = user:get_pos()
 		local inv = user:get_inventory()
 		for _, object in ipairs(minetest.get_objects_inside_radius(pos, vacuum_range)) do
 			local luaentity = object:get_luaentity()
@@ -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