diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 0040f13..6b59277 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -80,6 +80,7 @@ local add_new_cable_node = function(nodes, pos) end local load_position = function(pos) + if minetest.get_node_or_nil(pos) then return end local vm = VoxelManip() local MinEdge, MaxEdge = vm:read_from_map(pos, pos) end