mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-09-07 13:08:19 +02:00
Update for Sound enum changes.
This commit is contained in:
parent
e02f2ad7f4
commit
4a4661ef8d
@ -57,7 +57,7 @@ public class PowerUps extends JavaPlugin implements Listener {
|
||||
public void onPickup(Player player) {
|
||||
|
||||
// Play a sound.
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 1F, 2F);
|
||||
player.playSound(player.getLocation(), Sound.UI_BUTTON_CLICK, 1F, 2F);
|
||||
|
||||
// Play an effect.
|
||||
player.playEffect(hologram.getLocation(), Effect.MOBSPAWNER_FLAMES, null);
|
||||
|
Loading…
Reference in New Issue
Block a user