From 620677d5933473d7c5fbc3c68c3813b8bf96292f Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 11 Jul 2020 08:48:17 +0200 Subject: [PATCH] Fix entern countdown timer Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/countdown/EnternCountdown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/countdown/EnternCountdown.java b/FightSystem_Main/src/de/steamwar/fightsystem/countdown/EnternCountdown.java index c18b4bc..0ebdc3c 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/countdown/EnternCountdown.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/countdown/EnternCountdown.java @@ -40,7 +40,7 @@ public class EnternCountdown extends Countdown { } Player player = fightPlayer.getPlayer(); - int time = Config.EnterStages.get(fightPlayer.getKit().getEnterStage()) - FightSystem.getFightTime(); + int time = FightSystem.getFightTime() - Config.EnterStages.get(fightPlayer.getKit().getEnterStage()); switch (time) { case 900: case 600: case 300: case 180: case 120: BasicListener.toActionbar(player, TextComponent.fromLegacyText("§rNoch §a" + time / 60 + " §rMinuten " + countdownCounting()));