Fix bug with languages

This commit is contained in:
LoneWolfHT 2019-02-08 19:01:07 -08:00
parent 6ab2d23b0f
commit 3ad964f1c0

View File

@ -2,7 +2,7 @@ lavastuff = {}
local S
if minetest.global_exists(minetest.get_translator) then
if minetest.get_translator ~= nil then
S = minetest.get_translator(minetest.get_current_modname())
else
S = function(str)