mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fix sound effect playing on spigot
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user