diff options
author | AntumDeluge <antumdeluge@gmail.com> | 2017-07-08 20:32:18 -0700 |
---|---|---|
committer | sofar <sofar+github@foo-projects.org> | 2017-08-12 14:08:04 -0700 |
commit | f3005d6367337218ea98e4a4951ae9bef7d521ee (patch) | |
tree | a69bd1f0e8d7696d15fcd4d7256f8544131b4299 /init.lua | |
parent | fc3c5f47381c4fd3710558472729ae11a728e9f6 (diff) |
Call 'global_exists' in place of 'get_modpath' for 'intllib' check
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |