mojira.dev
MCPE-184566

/playsound leaks across dimensions

The bug

A /playsound command playing a sound at particular coordinates will be heard by any player near those coordinates in any dimension.

How to reproduce

1. Be in the overworld

2. /tp @s 0 64 0
3. /execute in nether run playsound random.explode @a 0 64 0

Expected behavior
You should hear nothing since the sound was in a completely different dimension from you

Actual behavior
You hear the explosion

Notes
The scripting API makes this bug obvious, since playSound is a function of world instead of dimension

Linked issues

Comments 1

Hi!

Does this issue still occur on the newest versions?
If yes, can you please record a video of this issue?

This ticket will automatically reopen when you reply.

tryashtar

(Unassigned)

1273769, 1441074

Confirmed

Multiple

1.21.80.27 Preview, 1.21.20.24 Preview, 1.21.2 Hotfix, 1.21.71 Hotfix

1.21.90.20 Preview

Retrieved