From 1cd11eadbbdf7a91680a479566990e26c66d4a14 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 9 Nov 2016 01:38:56 +0100 Subject: Fix mod not working with inttlib and mod security --- init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.lua b/init.lua index ce5e98e..3facb89 100644 --- a/init.lua +++ b/init.lua @@ -1,15 +1,12 @@ -- Boilerplate to support localized strings if intllib mod is installed. local S, F if minetest.get_modpath("intllib") then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter(minetest.get_current_modname()) + S = intllib.Getter() else S = function(s) return s end end F = function(f) return minetest.formspec_escape(S(f)) end - - doc = {} -- Some informational variables -- cgit v1.2.3