replaced mt-5 models to the right ones, renamed 0_5 to 5

This commit is contained in:
Alexander Weber 2019-03-08 17:25:38 +01:00
parent 165e917b5f
commit 10a3a80dfd
5 changed files with 5 additions and 5 deletions

View File

@ -67,8 +67,8 @@ minetest.register_on_leaveplayer(function(player)
end)
if minetest.global_exists("player_api") then
-- Minetest-0.5 and above compatible
player_api.register_model("skinsdb_3d_armor_character_0_5.b3d", {
-- Minetest-5 and above compatible
player_api.register_model("skinsdb_3d_armor_character_5.b3d", {
animation_speed = 30,
textures = {
"blank.png",

Binary file not shown.

View File

@ -74,8 +74,8 @@ function skin_class:apply_skin_to_player(player)
local playername = player:get_player_name()
local ver = self:get_meta("format") or "1.0"
if minetest.global_exists("player_api") then
-- Minetest-0.5 compatible
player_api.set_model(player, "skinsdb_3d_armor_character_0_5.b3d")
-- Minetest-5 compatible
player_api.set_model(player, "skinsdb_3d_armor_character_5.b3d")
else
-- Minetest-0.4 compatible
default.player_set_model(player, "skinsdb_3d_armor_character.b3d")
@ -115,7 +115,7 @@ function skin_class:apply_skin_to_player(player)
end
if minetest.global_exists("player_api") then
-- Minetest-0.5 compatible
-- Minetest-5 compatible
player_api.set_textures(player, {
v10_texture,
v18_texture,