diff options
author | Wuzzy <almikes@aol.com> | 2016-12-28 01:43:01 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-28 01:43:01 +0100 |
commit | 28faf4487db557794ec2714acea0903af3d3174e (patch) | |
tree | 7b20891cb2ace77a2f970eaa3333d226ad5790a8 /helptexts.lua | |
parent | 55bce69fa028abce8edca407833dd681972a0c4a (diff) |
Replace deprecated get_mapgen_params call (0.4.15)
Diffstat (limited to 'helptexts.lua')
-rw-r--r-- | helptexts.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/helptexts.lua b/helptexts.lua index 01c9372..2aca172 100644 --- a/helptexts.lua +++ b/helptexts.lua @@ -60,9 +60,7 @@ local dyedesc = S("Dyes are primarily used for crafting other items, especially local wooldesc = S("Wool is a soft decorative block which comes in different colors. Walking on wool is completely silent.") local lavaheight ---TODO: Change this to the following when 0.4.15 (or higher) is released: ---if minetest.get_mapgen_setting("mg_name") == "v6" then -if minetest.get_mapgen_params().mgname == "v6" then +if minetest.get_mapgen_setting("mg_name") == "v6" then lavaheight = -32 else lavaheight = -273 |