mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-22 01:56:21 +01:00
Play voucher sounds only for the redeeming player.
This commit is contained in:
parent
073828616d
commit
823b41ca1a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user