should work in 0.4.13 release now, but might be slower with armor @asl97

This commit is contained in:
kaadmy 2015-10-03 10:49:54 -07:00
parent 46a302107c
commit 562fc9e1b8
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,11 @@ function default.player_set_model(player, model_name)
end
function default.player_get_textures(player)
return player:get_properties().textures
if player.get_properties ~= nil then
return player:get_properties().textures
else
return {"character.png"} -- less efficient but will work
end
end
function default.player_set_textures(player, textures)