summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/api.lua b/api.lua
index 7ee5b9e..b338cfb 100644
--- a/api.lua
+++ b/api.lua
@@ -1,9 +1,4 @@
-local S
-if rawget(_G, "intllib") then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+local S = unified_inventory.gettext
-- Create detached creative inventory after loading all mods
minetest.after(0.01, function()