Fix mod not working with intllib and mod security
parent
8587041a1f
commit
64624b3ea7
8
init.lua
8
init.lua
|
@ -1,9 +1,9 @@
|
|||
-- 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())
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
||||
local bedrock = {}
|
||||
|
|
Loading…
Reference in New Issue