From f3005d6367337218ea98e4a4951ae9bef7d521ee Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sat, 8 Jul 2017 20:32:18 -0700 Subject: Call 'global_exists' in place of 'get_modpath' for 'intllib' check --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 5e7fc6b..ef011a8 100644 --- a/init.lua +++ b/init.lua @@ -11,7 +11,7 @@ Licensed under the zlib license. See LICENSE.md for more information. moreblocks = {} local S -if minetest.get_modpath("intllib") then +if minetest.global_exists("intllib") then S = intllib.Getter() else S = function(s) return s end -- cgit v1.2.3