From 8d4b1da4ee4a41388b732b910c897eb404f29deb Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Wed, 17 Apr 2024 22:10:31 -0400 Subject: [PATCH] allows old way to get boolean value, for tnt --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index ef5e036..d2c5dd4 100755 --- a/init.lua +++ b/init.lua @@ -130,7 +130,7 @@ if (PATH_FINDER == nil) then PATH_FINDER = 1 end -local enable_tnt = minetest.settings:get_bool("enable_tnt") or false +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