added support for max

This commit is contained in:
Alexsandro Percy 2022-04-19 18:56:19 -03:00
parent ee45d68811
commit 2cd8cf833f
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ end
function airutils.detect_player_api(player)
local player_proterties = player:get_properties()
local mesh = "character.b3d"
if player_proterties.mesh == mesh then
if player_proterties.mesh == mesh or player_proterties.mesh == "max.b3d" then
local models = player_api.registered_models
local character = models[mesh]
if character then