From abb6fba24f346c931bc83cc875f8756c2467c469 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 19 Sep 2016 12:11:31 +0200 Subject: Fix a typo and use proper deprecation notification system Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting. --- builtin/mainmenu/tab_texturepacks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/tab_texturepacks.lua b/builtin/mainmenu/tab_texturepacks.lua index 4614a2974..4638beaa1 100644 --- a/builtin/mainmenu/tab_texturepacks.lua +++ b/builtin/mainmenu/tab_texturepacks.lua @@ -73,7 +73,7 @@ local function get_formspec(tabview, name, tabdata) if not file_exists(infofile) then infofile = current_texture_path .. DIR_DELIM .. "info.txt" if file_exists(infofile) then - core.log("info.txt is depreciated. description.txt should be used instead.") + core.log("deprecated", "info.txt is deprecated. description.txt should be used instead.") end end -- cgit v1.2.3