allows old way to get boolean value, for tnt
This commit is contained in:
parent
bf4b9521cd
commit
8d4b1da4ee
2
init.lua
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user