summaryrefslogtreecommitdiff
path: root/register.lua
diff options
context:
space:
mode:
Diffstat (limited to 'register.lua')
-rw-r--r--register.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/register.lua b/register.lua
index 5a77bc0..3f0d27c 100644
--- a/register.lua
+++ b/register.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
minetest.register_privilege("creative", {
description = "Can use the creative inventory",