Mineclonia/mods
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
..
CORE Fix server crash when players dig unknown nodes 2021-06-17 23:39:13 +02:00
ENTITIES burning: prevent adding multiple entities+huds 2021-11-12 01:16:16 +01:00
ENVIRONMENT Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
HELP Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
HUD Do not send useless HUDCHANGE packets 2021-07-21 10:28:04 +02:00
ITEMS Merge pull request 'ITEMS/mcl_banners: Render preview banners with transparent patterns correctly' (#158) from banner-mask-fix-4 into master 2021-11-08 12:21:50 +00:00
MAPGEN Generate pig spawners in mineshafts 2021-07-23 04:11:33 +02:00
MISC Add crash fix and tests for minetest.find_nodes_in_area() 2021-11-18 00:55:59 +01:00
PLAYER Fix server crash by client leaving after joining 2021-08-22 04:21:35 +02:00