fix luacheck errors and use digilines.receptor_send

This commit is contained in:
BuckarooBanzay 2020-06-28 19:23:21 +02:00
parent 6ff1b3dc34
commit ab12ed38de
2 changed files with 3 additions and 2 deletions

View File

@ -16,5 +16,6 @@ read_globals = {
"dump", "dump",
-- Deps -- Deps
"default" "default",
"digilines"
} }

View File

@ -248,7 +248,7 @@ function do_teleport(pos, player)
if telemosaic_digiline_switching ~= nil then if telemosaic_digiline_switching ~= nil then
local chan = minetest.get_meta(pos):get_string("channel") local chan = minetest.get_meta(pos):get_string("channel")
digiline:receptor_send(pos, digilines.rules.default, chan, digilines.receptor_send(pos, digilines.rules.default, chan,
"telemosaic "..player:get_player_name().." "..hash_pos(pos)) "telemosaic "..player:get_player_name().." "..hash_pos(pos))
end end