diff options
Diffstat (limited to 'src/net/brysonsteck/Resurrection/player')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 99d41b1..6c95418 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -149,10 +149,10 @@ public class PlayerListener implements Listener { } for(Player p : Bukkit.getOnlinePlayers()){ try { - p.playSound(p.getLocation(), Sound.ENTITY_ENDER_DRAGON_GROWL, 1, 0); + p.playSound(p.getLocation(), Sound.ENTITY_ENDERDRAGON_GROWL, 1, 0); } catch (NoSuchFieldError e) { log.warning("NoSuchFieldError encountered, playing Wither noise instead."); - p.playSound(p.getLocation(), Sound.ENTITY_WITHER_DEATH, 1, 0); + p.playSound(p.getLocation(), Sound.WITHER_DEATH, 1, 0); } } } @@ -245,10 +245,10 @@ public class PlayerListener implements Listener { } for(Player p : Bukkit.getOnlinePlayers()){ try { - p.playSound(p.getLocation(), Sound.ENTITY_ENDER_DRAGON_GROWL, 1, 0); + p.playSound(p.getLocation(), Sound.ENTITY_ENDERDRAGON_GROWL, 1, 0); } catch (NoSuchFieldError e) { log.warning("NoSuchFieldError encountered, playing Wither noise instead."); - p.playSound(p.getLocation(), Sound.ENTITY_WITHER_DEATH, 1, 0); + p.playSound(p.getLocation(), Sound.WITHER_DEATH, 1, 0); } } } |