don't attempt to force-load blocks if they're already loaded.

This commit is contained in:
Vanessa Ezekowitz 2014-07-23 10:00:13 -04:00
parent ad0c310b6b
commit 29c7ff5228

View File

@ -80,6 +80,7 @@ local add_new_cable_node = function(nodes, pos)
end end
local load_position = function(pos) local load_position = function(pos)
if minetest.get_node_or_nil(pos) then return end
local vm = VoxelManip() local vm = VoxelManip()
local MinEdge, MaxEdge = vm:read_from_map(pos, pos) local MinEdge, MaxEdge = vm:read_from_map(pos, pos)
end end