This is for the new April Stable changes for tModLoader 1.4.4, one of them involving hook changes made in tModLoader/tModLoader#4089. I hope I did it right. I was able to get it tested and working.
To test the changes in this PR, switch the branch to hotfix/PickSound_HookUpdate and add any item that uses IModifyItemPickSound, such as a healing potion, wood, gold bar, etc. Click on the item from your inventory repeatedly so the unique item pick sound can play over and over again.
The expected result is that the sound and function should not have any issues.
This is for the new April Stable changes for tModLoader 1.4.4, one of them involving hook changes made in tModLoader/tModLoader#4089. I hope I did it right. I was able to get it tested and working.
To test the changes in this PR, switch the branch to
hotfix/PickSound_HookUpdate
and add any item that usesIModifyItemPickSound
, such as a healing potion, wood, gold bar, etc. Click on the item from your inventory repeatedly so the unique item pick sound can play over and over again. The expected result is that the sound and function should not have any issues.