diff options
Diffstat (limited to 'technic_chests')
-rw-r--r-- | technic_chests/init.lua | 2 | ||||
-rw-r--r-- | technic_chests/register.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/technic_chests/init.lua b/technic_chests/init.lua index 5fa96ff..7989912 100644 --- a/technic_chests/init.lua +++ b/technic_chests/init.lua @@ -4,7 +4,7 @@ modpath = minetest.get_modpath("technic_chests") -technic = technic or {} +technic = rawget(_G, "technic") or {} technic.chests = {} dofile(modpath.."/common.lua") diff --git a/technic_chests/register.lua b/technic_chests/register.lua index a6038ef..68ee6b1 100644 --- a/technic_chests/register.lua +++ b/technic_chests/register.lua @@ -1,7 +1,7 @@ local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end |