diff --git a/mods/ITEMS/mcl_hamburger/init.lua b/mods/ITEMS/mcl_hamburger/init.lua index 50d9e2fcc..5d2800a90 100644 --- a/mods/ITEMS/mcl_hamburger/init.lua +++ b/mods/ITEMS/mcl_hamburger/init.lua @@ -4,6 +4,9 @@ --- DateTime: 10/23/22 4:50 AM --- -- LOCALIZATION + +if not minetest.settings:get_bool("mcl_enable_hamburger",true) then return end + local S = minetest.get_translator("hamburger_mod") local modname = minetest.get_current_modname() diff --git a/settingtypes.txt b/settingtypes.txt index 0d517499a..25ac943ea 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -225,6 +225,9 @@ mcl_enable_fapples (Enable swiftness on enchanted golden apples) bool true # All tameable mobs listen to the "sit" righclick like dogs mcl_extended_pet_control (Extended pet control) bool true +# Enable hamburgers for villagers to follow +mcl_enable_hamburger (Enable Hamburger) bool true + [Debugging] # If enabled, this will show the itemstring of an item in the description. mcl_item_id_debug (Item ID Debug) bool false