mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-01-12 09:50:23 +01:00
Error syntax
This commit is contained in:
parent
e10bff62f0
commit
62a7a1eb8f
@ -29,7 +29,7 @@ function mesecon:mvps_push(pos, direction) -- pos: pos of mvps; direction: direc
|
|||||||
local lnode = minetest.env:get_node(lpos)
|
local lnode = minetest.env:get_node(lpos)
|
||||||
local newnode
|
local newnode
|
||||||
minetest.env:remove_node(lpos)
|
minetest.env:remove_node(lpos)
|
||||||
while not(lnode.name == "ignore" or lnode.name == "air" or string.find(lnode.name, "_source") or string.find(lnode.name, "_flowing") do
|
while not(lnode.name == "ignore" or lnode.name == "air" or string.find(lnode.name, "_source") or string.find(lnode.name, "_flowing")) do
|
||||||
lpos.x=lpos.x+direction.x
|
lpos.x=lpos.x+direction.x
|
||||||
lpos.y=lpos.y+direction.y
|
lpos.y=lpos.y+direction.y
|
||||||
lpos.z=lpos.z+direction.z
|
lpos.z=lpos.z+direction.z
|
||||||
|
Loading…
Reference in New Issue
Block a user