From af30944e1f02e444bfa439be788d48449a45d8c1 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sat, 8 Jul 2017 20:32:18 -0700 Subject: [PATCH] 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