diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-07-04 00:53:34 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-07-04 00:53:34 -0600 |
commit | a83fcc7f5206c6c2b07e7340b97d738f86f3f8c1 (patch) | |
tree | ca78376dbfc80af0563fdeba5d239499d2ba84e3 /src/net/brysonsteck/Resurrection/commands/CommandHowLong.java | |
parent | bfb50b1955e74cc0439f01a8e78e265f2d5095fc (diff) | |
download | resurrection-a83fcc7f5206c6c2b07e7340b97d738f86f3f8c1.tar resurrection-a83fcc7f5206c6c2b07e7340b97d738f86f3f8c1.tar.gz resurrection-a83fcc7f5206c6c2b07e7340b97d738f86f3f8c1.tar.bz2 |
added info to about command
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands/CommandHowLong.java')
-rw-r--r-- | src/net/brysonsteck/Resurrection/commands/CommandHowLong.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java index 72daf30..ecb955b 100644 --- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java +++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java @@ -73,7 +73,7 @@ public class CommandHowLong implements CommandExecutor { Player p = Bukkit.getPlayer(strings[0]); if (p == null) { - commandSender.sendMessage(ChatColor.RED + "ERROR: Player does not exist or is offline!"); + System.out.println(ChatColor.RED + "[Resurrection] ERROR: Player does not exist or is offline!"); return false; } @@ -90,13 +90,13 @@ public class CommandHowLong implements CommandExecutor { TimeCheck timeCheck = new TimeCheck(resurrectionTime - currentTime); - commandSender.sendMessage(p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); + System.out.println("[Resurrection] " + p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); return true; } } } - commandSender.sendMessage("ERROR: An error has occurred while trying to get time information. This is a bug in the program and not your fault."); + System.out.println("[Resurrection] ERROR: An error has occurred while trying to get time information. This is a bug in the program and not your fault."); return false; } } |