dont override not connected chests

This commit is contained in:
DS-Minetest 2017-08-14 18:53:23 +02:00
parent e7718a0aa5
commit c05c3178c8
1 changed files with 1 additions and 0 deletions

View File

@ -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