update translation detection

This commit is contained in:
tenplus1 2020-08-25 09:28:46 +01:00
parent 396c585e17
commit 46d692c211

@ -5,7 +5,8 @@ lucky_schems = {}
-- Load support for intllib.
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP .. "/intllib.lua")
local S = minetest.get_translator and minetest.get_translator("lucky_block") or
dofile(MP .. "/intllib.lua")
-- default blocks