aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-15 20:15:51 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-15 20:15:51 -0600
commita49057361f0e37f90de5f50f7172f04b0a2d389e (patch)
tree65daa65a0be631c708b5f485d0e34b8efd2fb9cb /src/net/brysonsteck/Resurrection/commands
parent9342bf9c0a1ae27fc6d1b4c886caf37e31708508 (diff)
downloadresurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar
resurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar.gz
resurrection-a49057361f0e37f90de5f50f7172f04b0a2d389e.tar.bz2
now testing full day resurrection
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandResurrect.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
index a969687..5e902e0 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandResurrect.java
@@ -19,22 +19,22 @@ public class CommandResurrect implements CommandExecutor {
if (valid) {
Player resurrectPlayer = Bukkit.getPlayer(strings[0]);
if (resurrectPlayer == null) {
- p.sendMessage("That player does not exist! Failed to resurrect.");
+ p.sendMessage(ChatColor.RED + "That player does not exist! Failed to resurrect.");
return false;
}
if (resurrectPlayer.getGameMode() == GameMode.SPECTATOR) {
for (PotionEffect effect : resurrectPlayer.getActivePotionEffects())
resurrectPlayer.removePotionEffect(effect.getType());
resurrectPlayer.setGameMode(GameMode.SURVIVAL);
- Bukkit.broadcastMessage(strings[0] + " has been resurrected manually by an admin!");
+ Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + strings[0] + " has been resurrected manually by an admin!");
return true;
} else {
- p.sendMessage(strings[0] + " is not dead! Failed to resurrect.");
+ p.sendMessage(ChatColor.RED + strings[0] + " is not dead! Failed to resurrect.");
return false;
}
} else {
- System.out.println("Too few arguments!");
- System.out.println("Usage: /resurrect PLAYER");
+ System.out.println(ChatColor.RED + "Too few arguments!");
+ System.out.println(ChatColor.RED + "Usage: /resurrect PLAYER");
return false;
}
} else {