mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-16 15:20:32 +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 newnode
|
||||
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.y=lpos.y+direction.y
|
||||
lpos.z=lpos.z+direction.z
|
||||
|
|
|
@ -130,7 +130,7 @@ mesecon:register_on_signal_on(function(pos, node)
|
|||
if checknode.name == "air"
|
||||
or checknode.name == "ignore"
|
||||
or string.find(checknode.name, "_source")
|
||||
or string.find(checknode.name, "_flowing") then
|
||||
or string.find(checknode.name, "_flowing") then
|
||||
break
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user