diff options
-rw-r--r-- | technic/machines/switching_station.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |