mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-06 10:10:36 +02:00
Update vacuum.lua
This commit is contained in:
@ -24,7 +24,7 @@ minetest.register_tool("technic:vacuum", {
|
||||
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()
|
||||
|
Reference in New Issue
Block a user