Update for Sound enum changes.

This commit is contained in:
filoghost 2016-03-09 13:32:12 +01:00
parent e02f2ad7f4
commit 4a4661ef8d

View File

@ -57,7 +57,7 @@ public class PowerUps extends JavaPlugin implements Listener {
public void onPickup(Player player) { public void onPickup(Player player) {
// Play a sound. // 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. // Play an effect.
player.playEffect(hologram.getLocation(), Effect.MOBSPAWNER_FLAMES, null); player.playEffect(hologram.getLocation(), Effect.MOBSPAWNER_FLAMES, null);