-
Bug
-
Resolution: Fixed
-
19w42a, 19w46a
-
Confirmed
-
Commands
-
Low
The bug
The /playsound command should use different feedback messages depending on whether one or multiple players are targeted:
commands.playsound.success.single commands.playsound.success.multiple
However, currently the code always uses commands.playsound.success.single:
net.minecraft.server.commands.PlaySoundCommand#playSound
if (collection.size() == 1) { cn2.sendSuccess(new TranslatableComponent("commands.playsound.success.single", sj2, collection.iterator().next().getDisplayName()), true); } else { cn2.sendSuccess(new TranslatableComponent("commands.playsound.success.single", sj2, collection.iterator().next().getDisplayName()), true); }
- relates to
-
MC-151857 Wrong string displayed upon /give used for multiple players
- Open