aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-08-25 00:23:03 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-08-25 00:23:03 -0600
commit90bf30acfe869e17cf4209465f67cd70919c63b0 (patch)
tree099300dd7eaee5b30c8c0c7bee1ff3843150345e /src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
parent9764af18a7bd1e9c9564993bccf7826e565ec7c7 (diff)
downloadresurrection-90bf30acfe869e17cf4209465f67cd70919c63b0.tar
resurrection-90bf30acfe869e17cf4209465f67cd70919c63b0.tar.gz
resurrection-90bf30acfe869e17cf4209465f67cd70919c63b0.tar.bz2
did some cleanup for transtioning out of beta
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands/CommandHowLong.java')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandHowLong.java10
1 files changed, 5 insertions, 5 deletions
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 {