aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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