mirror of
https://github.com/minetest-mods/digilines.git
synced 2025-03-25 05:40:22 +01:00
Return back getting "channel" in one line
This commit is contained in:
parent
ee37090667
commit
4278dc5728
@ -37,8 +37,7 @@ end
|
|||||||
-- to_slot: the slot number that is put into (optional).
|
-- to_slot: the slot number that is put into (optional).
|
||||||
-- side: which side of the chest the action occurred (optional).
|
-- side: which side of the chest the action occurred (optional).
|
||||||
local function send_message(pos, action, stack, from_slot, to_slot, side)
|
local function send_message(pos, action, stack, from_slot, to_slot, side)
|
||||||
local meta = minetest.get_meta(pos)
|
local channel = minetest.get_meta(pos):get_string("channel")
|
||||||
local channel = meta:get_string("channel")
|
|
||||||
|
|
||||||
local msg = {
|
local msg = {
|
||||||
action = action,
|
action = action,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user