summaryrefslogtreecommitdiff
path: root/lua/api.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:59:59 +0200
committerroot <root@linux-forks.de>2018-09-14 16:59:59 +0200
commit03ae3c04e7bcc8cac9fb28ba147a61c07bbb2861 (patch)
treeedb375334b6fb2415e3c08c1393812ed49addc67 /lua/api.lua
parent80b6e6bcbdecb92eb7b012cd5e7a6b5d2b35f5d0 (diff)
parentbc48fc0c077a453c20d758318eee6ad6d06783b9 (diff)
Merge branch 'master' of https://github.com/minetest-mods/drawersHEADmaster
Diffstat (limited to 'lua/api.lua')
-rwxr-xr-xlua/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/api.lua b/lua/api.lua
index d12a17c..6c87f94 100755
--- a/lua/api.lua
+++ b/lua/api.lua
@@ -67,7 +67,7 @@ function drawers.drawer_on_construct(pos)
meta:set_int("count"..vid, 0)
meta:set_int("max_count"..vid, base_stack_max * stack_max_factor)
meta:set_int("base_stack_max"..vid, base_stack_max)
- meta:set_string("entity_infotext"..vid, drawers.gen_info_text("Empty", 0,
+ meta:set_string("entity_infotext"..vid, drawers.gen_info_text(S("Empty"), 0,
stack_max_factor, base_stack_max))
meta:set_int("stack_max_factor"..vid, stack_max_factor)