aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-rw-r--r--src/net/brysonsteck/Resurrection/commands/CommandHowLong.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
index d4c2360..7e1c27d 100644
--- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
+++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java
@@ -59,6 +59,7 @@ public class CommandHowLong implements CommandExecutor {
} else {
commandSender.sendMessage("ERROR: " + p.getDisplayName() + " is not dead!");
}
+ return false;
}
}
}
@@ -99,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;
}
}
}