Play voucher sounds only for the redeeming player.

This commit is contained in:
Brianna 2019-10-22 13:37:06 -04:00
parent 073828616d
commit 823b41ca1a
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class VoucherExecutor {
}
if (voucher.getSound() != null && !voucher.getSound().isEmpty()) {
player.getWorld().playSound(player.getLocation(), Sound.valueOf(voucher.getSound()), Integer.MAX_VALUE, voucher.getSoundPitch());
player.playSound(player.getLocation(), Sound.valueOf(voucher.getSound()), Integer.MAX_VALUE, voucher.getSoundPitch());
}
String particle = voucher.getParticle();