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

@@ -108,6 +108,11 @@ public class BukkitUser extends OnlineUser {
));
}
@Override
public void playSound(@NotNull String soundEffect) throws IllegalArgumentException {
player.playSound(player.getLocation(), soundEffect, 1.0f, 1.0f);
}
@Override
@NotNull
public Audience getAudience() {