From 88493091b60d475f6234a48368d17371b27bfc85 Mon Sep 17 00:00:00 2001 From: Michieal Date: Mon, 16 Jan 2023 01:58:27 -0500 Subject: [PATCH] Starting Inventory fix #3. turn off debugging in code. Ready for testing. --- mods/ITEMS/mcl_starting_inventory/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_starting_inventory/init.lua b/mods/ITEMS/mcl_starting_inventory/init.lua index c6f1e9bea..5644e3d06 100644 --- a/mods/ITEMS/mcl_starting_inventory/init.lua +++ b/mods/ITEMS/mcl_starting_inventory/init.lua @@ -3,7 +3,7 @@ --- --- Copyright notice created for the license to be valid. (MIT 3) -local DEBUG = true +local DEBUG = false local function mcl_log(message) if DEBUG then @@ -66,9 +66,8 @@ minetest.register_chatcommand("give_starting_inventory", { description = "Grant yourself the starting inventory.", func = function(name, params) stuff_string = "mcl_tools:pick_iron,mcl_tools:axe_iron,mcl_tools:shovel_iron,mcl_torches:torch 32,mcl_core:cobble 32" - mcl_log("manually giving inventory:\n" .. dump(mcl_starting_inventory.get_list())) + mcl_log("Manually giving inventory:\n" .. dump(mcl_starting_inventory.get_list())) mcl_starting_inventory.add_from_csv(stuff_string) - minetest.chat_send_player(name, "Granted Starting Inventory.") return true end