diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-08-19 21:58:40 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-08-19 21:58:40 -0600 |
commit | f75681144085e729b4e9972908c1fc859670bb4b (patch) | |
tree | 6c5c493288cfc5c241b68a803402b4c8763df41c /src/net/brysonsteck/Resurrection/commands | |
parent | 4af9e11bf4abae7f866b62af0877b4ce8bd94365 (diff) | |
download | resurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar resurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar.gz resurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar.bz2 |
added h and f mods for timecheck.formattime
Diffstat (limited to 'src/net/brysonsteck/Resurrection/commands')
-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 7e1c27d..012d23e 100644 --- a/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java +++ b/src/net/brysonsteck/Resurrection/commands/CommandHowLong.java @@ -48,9 +48,9 @@ public class CommandHowLong implements CommandExecutor { TimeCheck timeCheck = new TimeCheck(resurrectionTime - currentTime); if (self) { - commandSender.sendMessage("You will respawn in " + timeCheck.formatTime()); + commandSender.sendMessage("You will respawn in " + timeCheck.formatTime('f')); } else { - commandSender.sendMessage(p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); + commandSender.sendMessage(p.getDisplayName() + " will respawn in " + timeCheck.formatTime('f')); } return true; } else { @@ -97,7 +97,7 @@ public class CommandHowLong implements CommandExecutor { TimeCheck timeCheck = new TimeCheck(resurrectionTime - currentTime); - System.out.println("[Resurrection] " + p.getDisplayName() + " will respawn in " + timeCheck.formatTime()); + System.out.println("[Resurrection] " + p.getDisplayName() + " will respawn in " + timeCheck.formatTime('f')); return true; } else { |