Mineclonia/mods/MISC
Nils Dagsson Moskopp 526c25aa57
Add crash fix and tests for minetest.find_nodes_in_area()
For some specific out of bounds values, the volume calculation in
minetest.find_nodes_in_area() is off by about four million nodes.
Unfortunately that behaviour made it trivial to crash Mineclonia,
as Minetest immediately crashes upon encountering large numbers.

This commit introduces a wrapper around minetest.find_nodes_in_area()
which should avoid a crash. Additionally, three self tests are executed
when a server starts; they crash Mineclonia in case the workaround fails.
2021-11-18 00:55:59 +01:00
..
findbiome Russian translation 2020-07-20 00:11:13 +00:00
mcl_commands Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_engine_workarounds Add crash fix and tests for minetest.find_nodes_in_area() 2021-11-18 00:55:59 +01:00
mcl_privs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_selftests Add crash fix and tests for minetest.find_nodes_in_area() 2021-11-18 00:55:59 +01:00
mcl_temp_helper_recipes Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_wip Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00