From 29c7ff5228864bcf5456f391b122c9eb477c754b Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 23 Jul 2014 10:00:13 -0400 Subject: [PATCH] don't attempt to force-load blocks if they're already loaded. --- technic/machines/switching_station.lua | 1 + 1 file changed, 1 insertion(+) 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