Fix mod not working with inttlib and mod security
This commit is contained in:
parent
8a13dbe997
commit
6b00e5e6de
3
init.lua
3
init.lua
@ -1,8 +1,7 @@
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user