Fix infinite loop in villager node search

This commit is contained in:
Wuzzy 2024-04-03 12:59:16 +02:00
parent 01c849fc4c
commit eda6899610

View File

@ -314,6 +314,7 @@ local find_reachable_node = function(startpos, nodenames, searchdistance, under_
return npos, searchpos
end
end
table.remove(nodes, r)
end
end