1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-07 18:55:18 +01:00

Replacement for Minimal Development Test (PR) (#9450)

This commit is contained in:
Wuzzy
2020-05-24 15:46:26 +02:00
committed by GitHub
parent a9b74f4c39
commit 6456aba73f
465 changed files with 5141 additions and 3486 deletions

View File

@@ -0,0 +1,14 @@
--
-- Mod channels experimental handlers
--
local mod_channel = minetest.mod_channel_join("experimental_preview")
minetest.register_on_modchannel_message(function(channel, sender, message)
minetest.log("action", "[modchannels] Server received message `" .. message
.. "` on channel `" .. channel .. "` from sender `" .. sender .. "`")
if mod_channel:is_writeable() then
mod_channel:send_all("experimental answers to preview")
mod_channel:leave()
end
end)