From 16ec59421e908b22d6a5a5bc0ec751ff993e9c06 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Fri, 30 Nov 2018 20:18:38 +0100 Subject: [PATCH] channel bugfix --- tubelib_addons3/teleporter.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tubelib_addons3/teleporter.lua b/tubelib_addons3/teleporter.lua index e7cbb34..e34a4f1 100644 --- a/tubelib_addons3/teleporter.lua +++ b/tubelib_addons3/teleporter.lua @@ -93,6 +93,11 @@ minetest.register_node("tubelib_addons3:teleporter", { peer_meta:set_string("peer", nil) peer_meta:set_string("formspec", sForm) peer_meta:set_string("infotext", "Tubelib Teleporter, unconfigured") + else + local channel = meta:get_string("channel") + if channel then + PairingList[channel] = nil + end end end,