Write data from armor not from items to nbt armor data
Add debug logging