Solaestas / Everglow

GNU General Public License v3.0
26 stars 3 forks source link

Hotfix/PickSound Hook Update #251

Closed Setnour6 closed 3 months ago

Setnour6 commented 3 months ago

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.