diff --git a/hacks.lua b/hacks.lua new file mode 100644 index 0000000..a4eec05 --- /dev/null +++ b/hacks.lua @@ -0,0 +1,5 @@ +-- disable mapblock sending optimization +-- the optimization does somehow not work with aligned full/empty(air) mapblocks +-- and resulted in weird unloaded areas in the distance +-- +minetest.settings:set("block_send_optimize_distance", minetest.settings:get("max_block_send_distance")) \ No newline at end of file diff --git a/init.lua b/init.lua index a51ed64..ec313d8 100644 --- a/init.lua +++ b/init.lua @@ -20,6 +20,7 @@ dofile(MP .. "/remove.lua") dofile(MP .. "/chat.lua") dofile(MP .. "/tools.lua") dofile(MP .. "/events.lua") +dofile(MP .. "/hacks.lua") dofile(MP .. "/mapgen.lua") if minetest.get_modpath("mtt") and mtt.enabled then