Skip to content

Commit

Permalink
Fix tube tool formspec update for teleport tube (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
S-S-X authored May 27, 2023
1 parent 682f767 commit 9ee5726
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tubetool/nodes/teleport_tube.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ function definition:paste(node, pos, player, data)
if type(pipeworks.tptube) == "table" and type(pipeworks.tptube.update_tube) == "function" then
-- using pipeworks api, update_tube will also check permissions
pipeworks.tptube.update_tube(pos, data.channel, receive, name)
pipeworks.tptube.update_meta(minetest.get_meta(pos))
else
-- through formspec handler, no api available
local fields = {
Expand Down

0 comments on commit 9ee5726

Please sign in to comment.