tnt: do not check for tnt enabled for serving recipe
This commit is contained in:
parent
56534d5147
commit
35cfb2e4c5
1 changed files with 8 additions and 10 deletions
|
@ -492,7 +492,6 @@ minetest.register_craft({
|
||||||
recipe = {"default:coal_lump", "default:gravel"}
|
recipe = {"default:coal_lump", "default:gravel"}
|
||||||
})
|
})
|
||||||
|
|
||||||
if enable_tnt then
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "tnt:tnt",
|
output = "tnt:tnt",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -510,7 +509,6 @@ if enable_tnt then
|
||||||
chance = 1,
|
chance = 1,
|
||||||
action = tnt.burn,
|
action = tnt.burn,
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
function tnt.register_tnt(def)
|
function tnt.register_tnt(def)
|
||||||
local name
|
local name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue