mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-25 16:43:44 +01:00
parent
063c067e39
commit
faf69d7bd5
@ -1,5 +1,5 @@
|
|||||||
shared = true
|
shared = true
|
||||||
network = true
|
network = true
|
||||||
power = false
|
power = true
|
||||||
storage = true
|
storage = true
|
||||||
ores = true
|
ores = true
|
||||||
|
@ -111,6 +111,10 @@ microexpansion.register_node("term", {
|
|||||||
meta:set_string("formspec", chest_formspec(pos, 1))
|
meta:set_string("formspec", chest_formspec(pos, 1))
|
||||||
meta:set_string("inv_name", "none")
|
meta:set_string("inv_name", "none")
|
||||||
meta:set_int("page", 1)
|
meta:set_int("page", 1)
|
||||||
|
|
||||||
|
local own_inv = meta:get_inventory()
|
||||||
|
own_inv:set_size("src", 1)
|
||||||
|
|
||||||
local net = me.get_connected_network(pos)
|
local net = me.get_connected_network(pos)
|
||||||
me.send_event(pos,"connect",{net=net})
|
me.send_event(pos,"connect",{net=net})
|
||||||
if net then
|
if net then
|
||||||
|
Loading…
Reference in New Issue
Block a user