mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
Blackhole tube side backfix
This commit is contained in:
parent
7eeb4242e8
commit
dc71bf90f4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user