From 24c17ac7d6df015650fbf0f3811dae05475f96d0 Mon Sep 17 00:00:00 2001 From: DS-Minetest Date: Mon, 14 Aug 2017 18:53:23 +0200 Subject: [PATCH] Do not override tube fields in the original chest nodedef --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 9059bbe..d06ba80 100644 --- a/init.lua +++ b/init.lua @@ -206,6 +206,7 @@ function connected_chests.register_chest(fromname, data) return false end if chest.tube then + chest.tube = table.copy(chest.tube) chest.tube.connect_sides = {left = 1, back = 1, front = 1, bottom = 1, top = 1} end