From 7f6a1e4a2b15d28f9a27494ed711d66d2d7e94d6 Mon Sep 17 00:00:00 2001 From: flux <25628292+fluxionary@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:33:11 -0800 Subject: [PATCH] attempt to fix test --- mtt.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mtt.lua b/mtt.lua index 47f83c4..bf6f834 100644 --- a/mtt.lua +++ b/mtt.lua @@ -1,11 +1,11 @@ mtt.register("send mail", function(callback) local auth_handler = minetest.get_auth_handler() - if not auth_handler:get_auth("player1") then - auth_handler:create_auth("player1", "test") + if not auth_handler.get_auth("player1") then + auth_handler.create_auth("player1", "test") end - if not auth_handler:get_auth("player2") then - auth_handler:create_auth("player2", "test") + if not auth_handler.get_auth("player2") then + auth_handler.create_auth("player2", "test") end -- send a mail