Open iblowmymind opened 1 year ago
I think this issue only happens on worlds where the MSPT is higher (e.g., I haven't seen it in a superflat world but I have in the Security Breach recreation by CuppaTeaExe)
The sound event is triggered twice, however there's a throttle of 5ms built into ExtraSounds to prevent it. The debug log is just slightly misleading as it is output before the throttle :) I've known of this since creating ExtraSounds in the first place, but it seemed like a non-issue since both events were played within a few milliseconds after one another at most, and I'd have to include a throttle for some sounds (scrolling, hotbar) anyway. In v3, I'm trying to find better injection points for most of the sound events, since a portion of the current ones are mixed between internal server & client, as they were just easier to inject into. That should solve quite a few issues, like inventory mod compatibility, and, of course, this.
Ahh, I see. Thank you! As I said, this is currently only noticeable in "heavier" worlds where MSPT is higher, which would make sense given your explanation.
Minecraft: 1.19.2 Mod: 2.3.1
Details
Item movement sounds are played twice when you move around items in Survival Mode. This issue does not occur in Creative Mode.
Mod List
Logs when in Creative Mode, ExtraSounds debug enabled (picking up and placing an item):
Same scenario in Survival Mode (the pickup sounds and the place sounds play at the same time):