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. --- unified_inventory.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'unified_inventory.lua') diff --git a/unified_inventory.lua b/unified_inventory.lua index a4bb02d..1042196 100644 --- a/unified_inventory.lua +++ b/unified_inventory.lua @@ -1,10 +1,5 @@ if minetest.get_modpath("unified_inventory") ~= nil then - local S - if minetest.get_modpath("intllib") then - S = intllib.Getter() - else - S = function ( s ) return s end - end + local S = awards.gettext unified_inventory.register_button("awards", { type = "image", -- cgit v1.2.3