From 49b6f82f1a125322fcd7d1b4ecbe39d4f229fa4a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 8 Apr 2023 00:00:49 +0200 Subject: [PATCH] Fix JumpAndRun time --- src/de/steamwar/lobby/jumpandrun/JumpAndRun.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java b/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java index 0ccc96a..64e9b13 100644 --- a/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java +++ b/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java @@ -135,7 +135,7 @@ public class JumpAndRun extends BasicListener { long jumpAndRunTime = Long.parseLong(jumpAndRunTimeConfig); if (time < jumpAndRunTime) { SimpleDateFormat format = new SimpleDateFormat(LobbySystem.getMessage().parse("JUMP_AND_RUN_TIME", player), Locale.ROOT); - String parsed = format.format(new Date(time - jumpAndRunTime)); + String parsed = format.format(new Date(jumpAndRunTime - time)); LobbySystem.getMessage().sendPrefixless("JUMP_AND_RUN_PERSONAL_BEST", player, parsed); UserConfig.updatePlayerConfig(player.getUniqueId(), "jump_and_run", time + ""); }