Call 'global_exists' in place of 'get_modpath' for 'intllib' check

This commit is contained in:
AntumDeluge 2017-07-08 20:32:18 -07:00 committed by sofar
parent fc3c5f4738
commit f3005d6367
1 changed files with 1 additions and 1 deletions

View File

@ -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