aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/brysonsteck')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandResurrect.java8
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
index a026d31..371e3c1 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
@@ -62,10 +62,10 @@ public class CommandResurrect implements CommandExecutor {
resurrectPlayer.setGameMode(GameMode.SURVIVAL);
for(Player player : Bukkit.getOnlinePlayers()){
try {
- player.playSound(player.getLocation(), Sound.ENTITY_ENDER_DRAGON_GROWL, 1, 0);
+ player.playSound(player.getLocation(), Sound.ENTITY_ENDERDRAGON_GROWL, 1, 0);
} catch (NoSuchFieldError e) {
log.warning("NoSuchFieldError encountered, playing Wither noise instead.");
- player.playSound(player.getLocation(), Sound.ENTITY_WITHER_DEATH, 1, 0);
+ player.playSound(player.getLocation(), Sound.WITHER_DEATH, 1, 0);
}
}
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + strings[0] + " has been resurrected manually by an admin!");
@@ -114,10 +114,10 @@ public class CommandResurrect implements CommandExecutor {
resurrectPlayer.setGameMode(GameMode.SURVIVAL);
for(Player player : Bukkit.getOnlinePlayers()){
try {
- player.playSound(player.getLocation(), Sound.ENTITY_ENDER_DRAGON_GROWL, 1, 0);
+ player.playSound(player.getLocation(), Sound.ENTITY_ENDERDRAGON_GROWL, 1, 0);
} catch (NoSuchFieldError e) {
log.warning("NoSuchFieldError encountered, playing Wither noise instead.");
- player.playSound(player.getLocation(), Sound.ENTITY_WITHER_DEATH, 1, 0);
+ player.playSound(player.getLocation(), Sound.WITHER_DEATH, 1, 0);
}
}
Bukkit.broadcastMessage(strings[0] + " has been resurrected manually by an admin!");
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);
}
}
}