diff options
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-rw-r--r-- | src/net/brysonsteck/Resurrection/commands/CommandHowLong.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java index ecb955b..7e1c27d 100644 --- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java +++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java @@ -53,6 +53,13 @@ public class CommandHowLong implements CommandExecutor { commandSender.sendMessage(p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); } return true; + } else { + if (self) { + commandSender.sendMessage("You aren't dead, dummy."); + } else { + commandSender.sendMessage("ERROR: " + p.getDisplayName() + " is not dead!"); + } + return false; } } } @@ -93,6 +100,9 @@ public class CommandHowLong implements CommandExecutor { System.out.println("[Resurrection] " + p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); return true; + } else { + System.out.println("[Resurrection] ERROR: " + p.getDisplayName() + " is not dead!"); + return false; } } } |