Fix crash at load time

This commit is contained in:
bri cassa 2021-03-13 00:28:20 +01:00
parent aa247cccfb
commit 2a99d10056

View File

@ -1,6 +1,6 @@
-- support for i18n -- support for i18n
local S = armor_i18n.gettext local S = armor.get_translator
local F = armor_i18n.fgettext local F = minetest.formspec_escape
if not minetest.get_modpath("technic_worldgen") then if not minetest.get_modpath("technic_worldgen") then
minetest.log("warning", S("technic_armor: Mod loaded but unused.")) minetest.log("warning", S("technic_armor: Mod loaded but unused."))