add hacks

This commit is contained in:
BuckarooBanzay 2022-11-10 19:58:58 +01:00
parent dd0e9df23b
commit 1ef14ced41
2 changed files with 6 additions and 0 deletions

5
hacks.lua Normal file
View File

@ -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
-- <insert rant about minetest emerge/loading mess here>
minetest.settings:set("block_send_optimize_distance", minetest.settings:get("max_block_send_distance"))

View File

@ -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