Remove extra print() calls and copy Luacontroller's print behavior (#127)

This commit is contained in:
1F616EMO~nya
2024-07-03 13:34:18 +08:00
committed by GitHub
parent 71fe60014f
commit 5919f432ae
4 changed files with 13 additions and 8 deletions

View File

@ -211,7 +211,7 @@ function pipeworks.scan_pipe_surroundings(pos)
pzm = 1
end
print("stage 2 returns "..pxm+8*pxp+2*pym+16*pyp+4*pzm+32*pzp..
minetest.log("info", "stage 2 returns "..pxm+8*pxp+2*pym+16*pyp+4*pzm+32*pzp..
" for nodes surrounding "..minetest.get_node(pos).name.." at "..minetest.pos_to_string(pos))
return pxm+8*pxp+2*pym+16*pyp+4*pzm+32*pzp
end