From f01db14db8ea0fc88a99a17d56aecf041375a1d0 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Wed, 17 Apr 2024 22:15:41 -0400 Subject: [PATCH] mods - mod jam - allows old way to get boolean value, for tnt --- mods/mobs_jam/balrog.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mobs_jam/balrog.lua b/mods/mobs_jam/balrog.lua index 0299e47..c7418b5 100644 --- a/mods/mobs_jam/balrog.lua +++ b/mods/mobs_jam/balrog.lua @@ -117,7 +117,7 @@ if (PATH_FINDER == nil) then PATH_FINDER = 1 end -local enable_tnt = minetest.settings:get_bool("enable_tnt") +local enable_tnt = minetest.settings:get_bool("enable_tnt") or minetest.settings:get("enable_tnt") or false local spawn_nodes = {"group:stone"} if minetest.get_modpath("nether") then