Skip to content

Commit

Permalink
Fix a typo and use proper deprecation notification system
Browse files Browse the repository at this point in the history
Fix a typo pointed out by @thecow275.

Also, use the deprecated notification system which respects the
deprecated_lua_api_handling setting.
  • Loading branch information
est31 committed Sep 19, 2016
1 parent 3aefa5d commit abb6fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/mainmenu/tab_texturepacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit abb6fba

Please sign in to comment.