1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2025-07-07 10:41:38 +02:00

Remove unused intllib translations (#6)

This commit is contained in:
nixnoxus
2021-12-10 03:16:36 +01:00
committed by GitHub
parent 823db77217
commit 3a1446e26e
7 changed files with 1 additions and 39 deletions

View File

@ -7,19 +7,6 @@
biome_lib = {}
biome_lib.modpath = minetest.get_modpath("biome_lib")
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.global_exists("intllib") then
if intllib.make_gettext_pair then
S = intllib.make_gettext_pair()
else
S = intllib.Getter()
end
else
S = function(s) return s end
end
biome_lib.intllib = S
local c1 = minetest.settings:get("biome_lib_default_grow_through_nodes")
biome_lib.default_grow_through_nodes = {["air"] = true}
if c1 then