Armor Sound Tweak

Armor Sound Tweak

2M Downloads

Equipment Sounds Compares NBT to decide if sounds should be played.

Speiger opened this issue ยท 0 comments

commented

This is the cause of #14 #10 #7 and those here too:
TinyModularThings/IC2Classic#721

The simple fix is basically:
Do Not match NBT, just compare items. That way small internal logic things do not play the equip sound.
If you want to be cheeky you provide a API or something that people could provide.

Anyways it would be nice if you could fix this 1 line mistake :)

if (!ItemStack.matches(newItem, oldItem)) {