added option to disable the craft

master
Alexsandro Percy 2022-08-12 20:03:26 -03:00
parent 91bc6ced6b
commit 04a53dcc1b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ minetest.register_craftitem("demoiselle:demoiselle", {
-- crafting
--
if minetest.get_modpath("default") then
if not minetest.settings:get_bool('demoiselle.disable_craftitems') and minetest.get_modpath("default") then
minetest.register_craft({
output = "demoiselle:wings",
recipe = {