fix luacheck errors and use digilines.receptor_send
This commit is contained in:
parent
6ff1b3dc34
commit
ab12ed38de
@ -16,5 +16,6 @@ read_globals = {
|
|||||||
"dump",
|
"dump",
|
||||||
|
|
||||||
-- Deps
|
-- Deps
|
||||||
"default"
|
"default",
|
||||||
|
"digilines"
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user