mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 16:31:43 -04:00
attempt to fix test
This commit is contained in:
parent
2ddeb05f83
commit
7f6a1e4a2b
1 changed files with 4 additions and 4 deletions
8
mtt.lua
8
mtt.lua
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
mtt.register("send mail", function(callback)
|
mtt.register("send mail", function(callback)
|
||||||
local auth_handler = minetest.get_auth_handler()
|
local auth_handler = minetest.get_auth_handler()
|
||||||
if not auth_handler:get_auth("player1") then
|
if not auth_handler.get_auth("player1") then
|
||||||
auth_handler:create_auth("player1", "test")
|
auth_handler.create_auth("player1", "test")
|
||||||
end
|
end
|
||||||
if not auth_handler:get_auth("player2") then
|
if not auth_handler.get_auth("player2") then
|
||||||
auth_handler:create_auth("player2", "test")
|
auth_handler.create_auth("player2", "test")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- send a mail
|
-- send a mail
|
||||||
|
|
Loading…
Add table
Reference in a new issue