diff --git a/overrides/items/animalmaterials.lua b/overrides/items/animalmaterials.lua index 1058312..a64546e 100644 --- a/overrides/items/animalmaterials.lua +++ b/overrides/items/animalmaterials.lua @@ -27,11 +27,11 @@ -- Boilerplate to support localized strings if intllib mod is installed. local S -if (minetest.get_modpath("intllib")) then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter("animalmaterials") +if minetest.get_modpath("intllib") then + dofile(minetest.get_modpath("intllib").."/intllib.lua") + S = intllib.Getter("animalmaterials") else - S = function ( s ) return s end + S = function ( s ) return s end end diff --git a/overrides/items/mobs.lua b/overrides/items/mobs.lua index 772a0c9..2a387b8 100644 --- a/overrides/items/mobs.lua +++ b/overrides/items/mobs.lua @@ -27,11 +27,11 @@ -- Boilerplate to support localized strings if intllib mod is installed. local S -if (minetest.get_modpath("intllib")) then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter("mobs") +if minetest.get_modpath("intllib") then + dofile(minetest.get_modpath("intllib").."/intllib.lua") + S = intllib.Getter("mobs") else - S = function ( s ) return s end + S = function ( s ) return s end end