stujones11 / minetest-3d_armor

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

armor.def[].level and armor.def[].groups not resetted on armor removal #98

Closed bell07 closed 7 years ago

bell07 commented 7 years ago

If I apply armor to the player, the fields armor.def[playername].level and armor.def[playername].groups[] are filled. But If I remove again the armor (the last one, full undressed) the level field and groups table does contain still the last values. Test environment: minestest_game + armor modpack + qa_block to look into armor.def[]

stujones11 commented 7 years ago

Thanks, I will look into it asap.

stujones11 commented 7 years ago

Should be fixed now 3aac5c98f4a95fac9136af63ab129ca4bb1246cf