don't attempt to force-load blocks if they're already loaded.
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 23 Jul 2014 14:00:13 +0000 (10:00 -0400)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 23 Jul 2014 14:00:13 +0000 (10:00 -0400)
technic/machines/switching_station.lua

index 0040f13066d80e1cc9d440d23013fe1517e04cb3..6b59277aeb0618f6402f3ec5bec081351a3d8d33 100644 (file)
@@ -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