diff --git a/README.md b/README.md index 690e7c6..90bd785 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ optional: intllib # License -Copyright (C) 2017-2021 Joachim Stolberg +Copyright (C) 2017-2020 Joachim Stolberg Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt Textures: CC0 @@ -81,6 +81,5 @@ Textures: CC0 - 2020-01-03 v1.7 * max_tube_length bugfix - 2020-02-02 v1.8 * 'special nodes' as alternative to 'secondary nodes' introduced - 2020-05-31 v1.9 * Generator function 'get_tube_line' added, storage improvements -- 2021-01-17 v2.0 * Update cache on node removal (#7) and refuse to connect with faces of a node which are not marked valid (#3) diff --git a/internal2.lua b/internal2.lua index f1a1d9a..1d24b24 100644 --- a/internal2.lua +++ b/internal2.lua @@ -90,7 +90,6 @@ function Tube:get_node_lvm(pos) param2 = param2_data[idx] } return node - return {name="ignore", param2=0} end -- Read param2 from a primary node at the given position. diff --git a/tube_api.lua b/tube_api.lua index bfd79ca..d70e7a2 100644 --- a/tube_api.lua +++ b/tube_api.lua @@ -13,7 +13,7 @@ ]]-- -- Version for compatibility checks, see readme.md/history -tubelib2.version = 2.0 +tubelib2.version = 1.9 -- for lazy programmers local S = function(pos) if pos then return minetest.pos_to_string(pos) end end