Fix mod not working with intllib and mod security

master
Wuzzy 2016-11-09 01:16:03 +01:00
parent 8587041a1f
commit 64624b3ea7
1 changed files with 4 additions and 4 deletions

View File

@ -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 = {}