Fix sound effect playing on spigot

This commit is contained in:
William committed 2023-08-28 17:03:37 +01:00
1 parent 6bfd69f232
commit 89aa490568
2 files changed
+6 -1

No files matched your search

@@ -155,7 +155,7 @@ public abstract class OnlineUser extends User implements Teleportable, CommandUs
* @param soundEffect the sound effect to play. If the sound name is invalid, the sound will not play
* @implNote If the key is invalid, it will be substituted with {@code minecraft:block.note_block.banjo}
*/
public void playSound(@Subst(Key.MINECRAFT_NAMESPACE + "block.note_block.banjo")
public void playSound(@Subst(Key.MINECRAFT_NAMESPACE + ":block.note_block.banjo")
@NotNull String soundEffect) throws IllegalArgumentException {
try {
getAudience().playSound(