#198 Fix a crash, step 20

This commit is contained in:
kay27 2022-02-14 06:39:47 +04:00
parent e15a82b865
commit 403528e542
1 changed files with 1 additions and 0 deletions

View File

@ -503,6 +503,7 @@ local possible_hackers = {}
function mcl_util.is_player(obj)
if not obj then return end
if not obj.is_player then return end
if not obj:is_player() then return end
local name = obj:get_player_name()
if not name then return end