rozštěpen z minetest-mods/moreblocks
Call 'global_exists' in place of 'get_modpath' for 'intllib' check
Tento commit je obsažen v:
2
init.lua
2
init.lua
@@ -11,7 +11,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
|
||||
moreblocks = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
if minetest.global_exists("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele