From 0dc345e2c9bb1788b116d490546e71740037ca4d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 19 Jul 2020 15:38:55 +0200 Subject: [PATCH] Fix nostart Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/RankCommand.java | 2 +- src/de/steamwar/bungeecore/commands/RankedCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/RankCommand.java b/src/de/steamwar/bungeecore/commands/RankCommand.java index 7f4f26e..4b44c62 100644 --- a/src/de/steamwar/bungeecore/commands/RankCommand.java +++ b/src/de/steamwar/bungeecore/commands/RankCommand.java @@ -32,7 +32,7 @@ public class RankCommand extends BasicCommand { if(placement == -1) BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §eunplatziert"); else - BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §e" + placement + "§8. §7mit §e" + elo + " §7Elo§8."); + BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §e" + ++placement + "§8. §7mit §e" + elo + " §7Elo§8."); } } diff --git a/src/de/steamwar/bungeecore/commands/RankedCommand.java b/src/de/steamwar/bungeecore/commands/RankedCommand.java index 6ef3999..2034ce2 100644 --- a/src/de/steamwar/bungeecore/commands/RankedCommand.java +++ b/src/de/steamwar/bungeecore/commands/RankedCommand.java @@ -25,7 +25,7 @@ public class RankedCommand extends BasicCommand { if(mode.isRanked()) queues.put(mode, new WaitingQueue(mode)); - ProxyServer.getInstance().getScheduler().schedule(BungeeCore.get(), this::checkForGames, 1, TimeUnit.SECONDS); + ProxyServer.getInstance().getScheduler().schedule(BungeeCore.get(), this::checkForGames, 1, 1, TimeUnit.SECONDS); } @Override