aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/commands
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-07-19 18:17:21 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-07-19 18:17:21 -0600
commitd0df7cb76069c0022fea8d1e3f0938a585ffcda6 (patch)
treef242e193fc4591105a079dfe2e8b373759890916 /src/net/brysonsteck/Resurrection/commands
parent2be09b6fbc24a64bd98ecbb979e2c2e35c7af3d9 (diff)
parent22a5ec06e8f19b65217c60dae47b6c1ca3bc3d03 (diff)
downloadresurrection-d0df7cb76069c0022fea8d1e3f0938a585ffcda6.tar
resurrection-d0df7cb76069c0022fea8d1e3f0938a585ffcda6.tar.gz
resurrection-d0df7cb76069c0022fea8d1e3f0938a585ffcda6.tar.bz2
fixed howlong if player isnt dead
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;
}
}
}