1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-17 15:48:31 +01:00

add disabled coin crafting logging

This commit is contained in:
codexp 2018-04-09 21:32:03 +02:00 committed by Vanessa Dannenberg
parent 7e98534179
commit b526ec1714

View File

@ -2950,7 +2950,7 @@ minetest.register_craft({
},
})
if not minetest.settings:get_bool("homedecor.disable_coin_crafting") then
if minetest.settings:get_bool("homedecor.disable_coin_crafting") == false then
minetest.register_craft({
type = "shapeless",
output = "homedecor:coin 5",
@ -2968,6 +2968,10 @@ if not minetest.settings:get_bool("homedecor.disable_coin_crafting") then
output = "homedecor:coin 50",
recipe = {"default:goldblock", "default:sword_mese"}
})
else
if minetest.settings:get("log_mods") then
minetest.log("[HomeDecor] coin crafting is disabled!")
end
end
minetest.register_craft({