don't attempt to force-load blocks if they're already loaded.
This commit is contained in:
parent
ad0c310b6b
commit
29c7ff5228
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user