From a49057361f0e37f90de5f50f7172f04b0a2d389e Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 15 Jun 2021 20:15:51 -0600 Subject: now testing full day resurrection --- .../brysonsteck/Resurrection/commands/CommandResurrect.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/commands') 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 { -- cgit v1.2.3