From f75681144085e729b4e9972908c1fc859670bb4b Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Thu, 19 Aug 2021 21:58:40 -0600 Subject: added h and f mods for timecheck.formattime --- src/net/brysonsteck/Resurrection/commands/CommandHowLong.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/commands/CommandHowLong.java') 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 { -- cgit v1.2.3