adventure-platform icon indicating copy to clipboard operation
adventure-platform copied to clipboard

SpongeAudience#playSound(Sound) breaks after player death/respawn

Open qixils opened this issue 2 years ago • 0 comments

The Audience#playSound(Sound) method from Sponge 7's platform breaks (i.e. stops playing sounds) after the target player dies and respawns. Relogging fixes the issue (due to the creation of a new Audience object).

Likely an issue with fetching the player's position as Audience#playSound(Sound,double,double,double) works fine.


Version Information

<dependency>
    <groupId>net.kyori</groupId>
    <artifactId>adventure-platform-spongeapi</artifactId>
    <version>4.0.1</version>
</dependency>

SpongeVanilla Minecraft: 1.12.2 SpongeAPI: 7.4.0-5ea6215 Sponge: 1.12.2-7.4.7 SpongeVanilla: 1.12.2-7.4.7 JVM: 1.8.0_312/32-bit (Temurin) OS: Windows 10 (10.0/x86)

qixils avatar Jan 28 '22 22:01 qixils