mirror of
https://github.com/joe7575/techpack.git
synced 2024-10-27 19:09:34 +01:00
channel bugfix
This commit is contained in:
parent
70845bc126
commit
16ec59421e
@ -93,6 +93,11 @@ minetest.register_node("tubelib_addons3:teleporter", {
|
|||||||
peer_meta:set_string("peer", nil)
|
peer_meta:set_string("peer", nil)
|
||||||
peer_meta:set_string("formspec", sForm)
|
peer_meta:set_string("formspec", sForm)
|
||||||
peer_meta:set_string("infotext", "Tubelib Teleporter, unconfigured")
|
peer_meta:set_string("infotext", "Tubelib Teleporter, unconfigured")
|
||||||
|
else
|
||||||
|
local channel = meta:get_string("channel")
|
||||||
|
if channel then
|
||||||
|
PairingList[channel] = nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user