From 28faf4487db557794ec2714acea0903af3d3174e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 28 Dec 2016 01:43:01 +0100 Subject: Replace deprecated get_mapgen_params call (0.4.15) --- helptexts.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'helptexts.lua') 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 -- cgit v1.2.3