aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-07-04 00:53:34 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-07-04 00:53:34 -0600
commita83fcc7f5206c6c2b07e7340b97d738f86f3f8c1 (patch)
treeca78376dbfc80af0563fdeba5d239499d2ba84e3 /src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
parentbfb50b1955e74cc0439f01a8e78e265f2d5095fc (diff)
downloadresurrection-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.java6
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;
}
}