should work in 0.4.13 release now, but might be slower with armor @asl97
This commit is contained in:
parent
46a302107c
commit
562fc9e1b8
@ -69,7 +69,11 @@ function default.player_set_model(player, model_name)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function default.player_get_textures(player)
|
function default.player_get_textures(player)
|
||||||
|
if player.get_properties ~= nil then
|
||||||
return player:get_properties().textures
|
return player:get_properties().textures
|
||||||
|
else
|
||||||
|
return {"character.png"} -- less efficient but will work
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function default.player_set_textures(player, textures)
|
function default.player_set_textures(player, textures)
|
||||||
|
Loading…
Reference in New Issue
Block a user