Return back getting "channel" in one line

This commit is contained in:
Andrii 2024-09-05 00:03:13 +03:00
parent ee37090667
commit 4278dc5728

View File

@ -37,8 +37,7 @@ end
-- to_slot: the slot number that is put into (optional).
-- side: which side of the chest the action occurred (optional).
local function send_message(pos, action, stack, from_slot, to_slot, side)
local meta = minetest.get_meta(pos)
local channel = meta:get_string("channel")
local channel = minetest.get_meta(pos):get_string("channel")
local msg = {
action = action,