mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
[mesecons_pistons] fix warnings
This commit is contained in:
parent
a9c49853aa
commit
e75a2e3a67
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ local piston_off = function (pos, node)
|
|||
local dir = piston_get_direction(pistonspec.dir, node)
|
||||
local pullpos = vector.add(pos, vector.multiply(dir, 2))
|
||||
local meta = minetest.get_meta(pos)
|
||||
local success, stack, oldstack = mesecon.mvps_pull_single(pullpos, vector.multiply(dir, -1), PISTON_MAXIMUM_PUSH, meta:get_string("owner"), pos)
|
||||
local success, stack = mesecon.mvps_pull_single(pullpos, vector.multiply(dir, -1), PISTON_MAXIMUM_PUSH, meta:get_string("owner"), pos)
|
||||
if success then
|
||||
mesecon.mvps_process_stack(pos, dir, stack)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue