summaryrefslogtreecommitdiff
path: root/crafts.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crafts.lua')
-rw-r--r--crafts.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/crafts.lua b/crafts.lua
index 746f2a1..515a097 100644
--- a/crafts.lua
+++ b/crafts.lua
@@ -1,11 +1,4 @@
--- 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(minetest.get_current_modname())
-else
- S = function ( s ) return s end
-end
+local S = moretrees.intllib
for i in ipairs(moretrees.treelist) do
local treename = moretrees.treelist[i][1]