stujones11 / minetest-3d_armor

Visible player armor & wielded items for minetest
Other
56 stars 98 forks source link

Fix Armor Stand textures used for armor definitions with explicit "texture" attribute #161

Closed CubicMelon closed 5 years ago

CubicMelon commented 5 years ago

The Armor Stand would fail showing armor that has a specific "texture" attribute in its definition -- it would append an extra ".png" to the texture filename (i.e. try to use "mymod_myboots .png.png ")

This change fixes it so both implicitly textured armor and explicitly textured armor both display correctly on Armor Stands.

stujones11 commented 5 years ago

Seems legit, thanks :)

CubicMelon commented 5 years ago

No problem! Ran into it when testing the armor added by my own mod :)