From 90bf30acfe869e17cf4209465f67cd70919c63b0 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 25 Aug 2021 00:23:03 -0600 Subject: did some cleanup for transtioning out of beta --- src/net/brysonsteck/Resurrection/commands/CommandHowLong.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/commands/CommandHowLong.java') diff --git a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java index 012d23e..9569c27 100644 --- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java +++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java @@ -48,22 +48,22 @@ public class CommandHowLong implements CommandExecutor { TimeCheck timeCheck = new TimeCheck(resurrectionTime - currentTime); if (self) { - commandSender.sendMessage("You will respawn in " + timeCheck.formatTime('f')); + commandSender.sendMessage(ChatColor.YELLOW + "You will respawn in " + timeCheck.formatTime('f')); } else { - commandSender.sendMessage(p.getDisplayName() + " will respawn in " + timeCheck.formatTime('f')); + commandSender.sendMessage(ChatColor.YELLOW + p.getDisplayName() + " will respawn in " + timeCheck.formatTime('f')); } return true; } else { if (self) { - commandSender.sendMessage("You aren't dead, dummy."); + commandSender.sendMessage(ChatColor.RED + "ERROR: You aren't dead, dummy."); } else { - commandSender.sendMessage("ERROR: " + p.getDisplayName() + " is not dead!"); + commandSender.sendMessage(ChatColor.RED + "ERROR: " + p.getDisplayName() + " is not dead!"); } return false; } } } - commandSender.sendMessage("ERROR: An error has occurred while trying to get time information. This is a bug in the program and not your fault."); + commandSender.sendMessage(ChatColor.RED + "ERROR: An error has occurred while trying to get time information. This is a bug in the program and not your fault."); return false; } } else { -- cgit v1.2.3