mods - mod jam - allows old way to get boolean value, for tnt

master
mckaygerhard 2024-04-17 22:15:41 -04:00
parent d10a36295c
commit f01db14db8
1 changed files with 1 additions and 1 deletions

View File

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