mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 09:40:21 +01:00
update translation detection
This commit is contained in:
parent
9f02777f14
commit
497ff7241f
9
api.lua
9
api.lua
@ -1,12 +1,15 @@
|
||||
|
||||
-- Intllib and CMI support check
|
||||
-- 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("mobs_redo") or
|
||||
dofile(MP .. "/intllib.lua")
|
||||
|
||||
-- CMI support check
|
||||
local use_cmi = minetest.global_exists("cmi")
|
||||
|
||||
mobs = {
|
||||
mod = "redo",
|
||||
version = "20200727",
|
||||
version = "20200825",
|
||||
intllib = S,
|
||||
invis = minetest.global_exists("invisibility") and invisibility or {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user