forked from Mirrorlandia_minetest/digilines
commit
1c4db4d675
@ -55,8 +55,10 @@ mychest = tableMergeImmutable(defaultChest,{
|
|||||||
meta:set_string("formspec",meta:get_string("formspec").."\nfield[2,4.5;5,1;channel;Channel;${channel}]")
|
meta:set_string("formspec",meta:get_string("formspec").."\nfield[2,4.5;5,1;channel;Channel;${channel}]")
|
||||||
end,
|
end,
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
minetest.get_meta(pos):set_string("channel",fields.channel)
|
if fields.channel ~= nil then
|
||||||
return defer(defaultChest.on_receive_fields, pos, formname, fields, sender)
|
minetest.get_meta(pos):set_string("channel",fields.channel)
|
||||||
|
return defer(defaultChest.on_receive_fields, pos, formname, fields, sender)
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
tube = tableMergeImmutable(defaultChest.tube, {
|
tube = tableMergeImmutable(defaultChest.tube, {
|
||||||
-- note: mese filters cannot put part of a stack in the destination.
|
-- note: mese filters cannot put part of a stack in the destination.
|
||||||
|
Loading…
Reference in New Issue
Block a user