From 41a10a86d5d2257778b2e422b8a560ed8ea2cbba Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 5 Feb 2015 10:07:38 +0100 Subject: reduce intllib code --- technic_chests/register.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'technic_chests') diff --git a/technic_chests/register.lua b/technic_chests/register.lua index 68ee6b1..14baa95 100644 --- a/technic_chests/register.lua +++ b/technic_chests/register.lua @@ -1,11 +1,4 @@ - - -local S -if rawget(_G, "intllib") then - S = intllib.Getter() -else - S = function(s) return s end -end +local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end local chest_mark_colors = { {"black", S("Black")}, -- cgit v1.2.3