Skip to content

Commit

Permalink
use player_api to register player model
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Mar 25, 2022
1 parent a9b8bc4 commit ac445a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Expand Up @@ -18,6 +18,7 @@ read_globals = {

-- deps
"default",
"player_api",
"minetest",
"unified_inventory",
"wardrobe",
Expand Down
2 changes: 1 addition & 1 deletion 3d_armor/init.lua
Expand Up @@ -299,7 +299,7 @@ end

-- Armor Player Model

default.player_register_model("3d_armor_character.b3d", {
player_api.register_model("3d_armor_character.b3d", {
animation_speed = 30,
textures = {
armor.default_skin..".png",
Expand Down
2 changes: 1 addition & 1 deletion 3d_armor/mod.conf
@@ -1,4 +1,4 @@
name = 3d_armor
depends = default
depends = default, player_api
optional_depends = player_monoids, armor_monoid, pova, fire, ethereal, bakedclay, moreores, nether
description = Adds craftable armor that is visible to other players.

0 comments on commit ac445a6

Please sign in to comment.