From 2be459a49a47a247d3ea947f715007b23dafdde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Wed, 28 Dec 2016 22:23:07 +0100 Subject: Changed print() to minetest.log() to avoid annoying players in 0.4.15 --- init.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 0c94994..744fcad 100644 --- a/init.lua +++ b/init.lua @@ -1,20 +1,20 @@ -print(" Currency mod loading... ") +minetest.log("info", " Currency mod loading... ") local modpath = minetest.get_modpath("currency") dofile(modpath.."/craftitems.lua") -print("[Currency] Craft_items Loaded!") +minetest.log("info", "[Currency] Craft_items Loaded!") dofile(modpath.."/shop.lua") -print("[Currency] Shop Loaded!") +minetest.log("info", "[Currency] Shop Loaded!") dofile(modpath.."/barter.lua") -print("[Currency] Barter Loaded!") +minetest.log("info", "[Currency] Barter Loaded!") dofile(modpath.."/safe.lua") -print("[Currency] Safe Loaded!") +minetest.log("info", "[Currency] Safe Loaded!") dofile(modpath.."/crafting.lua") -print("[Currency] Crafting Loaded!") +minetest.log("info", "[Currency] Crafting Loaded!") if minetest.setting_getbool("creative_mode") then - print("[Currency] Creative mode in use, skipping basic income.") + minetest.log("info", "[Currency] Creative mode in use, skipping basic income.") else dofile(modpath.."/income.lua") - print("[Currency] Income Loaded!") + minetest.log("info", "[Currency] Income Loaded!") end -- cgit v1.2.3