mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-30 07:20:39 +02:00
reduce table lookups during initialization
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user