err its better the xclusive player check, minetest api is shit

This commit is contained in:
mckaygerhard 2023-08-05 22:50:30 -04:00
parent 49a5d903d4
commit a8f447a346

View File

@ -268,7 +268,7 @@ end
-- are we a real player ? -- are we a real player ?
local function is_player(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 return true
end end
end end