diff options
Diffstat (limited to 'chat_commands.lua')
-rw-r--r-- | chat_commands.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chat_commands.lua b/chat_commands.lua index 932457b..c386c19 100644 --- a/chat_commands.lua +++ b/chat_commands.lua @@ -15,9 +15,8 @@ -- local S -if (intllib) then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter(minetest.get_current_modname()) +if minetest.get_modpath("intllib") then + S = intllib.Getter() else S = function ( s ) return s end end |