diff --git a/init.lua b/init.lua index e5ce5e3..c836486 100644 --- a/init.lua +++ b/init.lua @@ -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", diff --git a/models/skinsdb_3d_armor_character_0_5.b3d b/models/skinsdb_3d_armor_character_0_5.b3d deleted file mode 100644 index c4d45b5..0000000 Binary files a/models/skinsdb_3d_armor_character_0_5.b3d and /dev/null differ diff --git a/models/skinsdb_3d_armor_character_5.b3d b/models/skinsdb_3d_armor_character_5.b3d new file mode 100644 index 0000000..44d29ce Binary files /dev/null and b/models/skinsdb_3d_armor_character_5.b3d differ diff --git a/models/skinsdb_3d_armor_character_0_5.blend b/models/skinsdb_3d_armor_character_5.blend similarity index 62% rename from models/skinsdb_3d_armor_character_0_5.blend rename to models/skinsdb_3d_armor_character_5.blend index 44f7e27..062f175 100644 Binary files a/models/skinsdb_3d_armor_character_0_5.blend and b/models/skinsdb_3d_armor_character_5.blend differ diff --git a/skin_meta_api.lua b/skin_meta_api.lua index 0225284..926d4ea 100644 --- a/skin_meta_api.lua +++ b/skin_meta_api.lua @@ -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,