From 1049280eeba4d78fed1fdc15a89a5e3d2ecd7357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Tue, 21 Feb 2017 04:45:45 -0300 Subject: Update to new intllib API. --- chat_commands.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chat_commands.lua') diff --git a/chat_commands.lua b/chat_commands.lua index c386c19..3f4ed68 100644 --- a/chat_commands.lua +++ b/chat_commands.lua @@ -14,12 +14,7 @@ -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -- -local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() -else - S = function ( s ) return s end -end +local S = awards.gettext minetest.register_chatcommand("awards", { params = S("[c|clear|disable|enable]"), -- cgit v1.2.3