summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-12-27 01:06:09 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-12-27 01:06:09 -0500
commite7f2beda39dca493c584488ad6e037ba53b69fdb (patch)
tree1feaf01782a24956244e795c20a23ffadec708d3 /node_defs.lua
parentbc6acccd47d12950f58e34c5c63aa3d85ba97bd9 (diff)
use current intllib API
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/node_defs.lua b/node_defs.lua
index d8bf7e9..c5ad566 100644
--- a/node_defs.lua
+++ b/node_defs.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
moretrees.avoidnodes = {}