From a8f447a346f2aa7abe7c4c0261799a4518db2882 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sat, 5 Aug 2023 22:50:30 -0400 Subject: [PATCH] err its better the xclusive player check, minetest api is shit --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 6ab5d82..faf2228 100644 --- a/api.lua +++ b/api.lua @@ -268,7 +268,7 @@ end -- are we a real player ? local function is_player(player) - if player and type(player) == "userdata" and minetest.is_player(player) then + if player and type(player) == "userdata" then return true end end