diff --git a/README.md b/README.md index 746a0cc..2d76c5b 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,9 @@ TechPack is a collection of following Mods: **A TechPack Tutorial is available as ![Wiki](https://github.com/joe7575/techpack/wiki)** +**Machine data is stored in memory and not in the nodes itself. Therefore, never move or copy machines or tubes by means of Worldedit.** +**The moved/copied nodes will not have valid node numbers, which could lead to a server crash.** + TechPack provides: - lumber tubes to connect 2 nodes - a Pusher node to pull/push items through tubes diff --git a/releasenotes.md b/releasenotes.md index b866294..b096094 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -1,6 +1,19 @@ # Release Notes for ModPack TechPack [techpack] +## V2.02.05 (2019-03-14) + +### Additions + +### Removals + +### Changes + +### Fixes +- Blackhole tube side backfix + + + ## V2.02.04 (2019-03-02) ### Additions diff --git a/tubelib/command.lua b/tubelib/command.lua index 66bfbea..53ca7bb 100644 --- a/tubelib/command.lua +++ b/tubelib/command.lua @@ -139,8 +139,8 @@ local function get_dest_node(pos, side) local dir = side_to_dir(side, node.param2) local spos, sdir = Tube:get_connected_node_pos(pos, dir) _,node = Tube:get_node(spos) - local in_side = dir_to_side(sdir, node.param2) - return spos, in_side, Name2Name[node.name] or node.name + local out_side = dir_to_side(tubelib2.Turn180Deg[sdir], node.param2) + return spos, out_side, Name2Name[node.name] or node.name end local function item_handling_node(name)