From 7149602650cfd767e86f586fda2266d4d0438f33 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 19 Jul 2020 15:31:10 +0200 Subject: [PATCH] Fix unplaced Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/RankCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/RankCommand.java b/src/de/steamwar/bungeecore/commands/RankCommand.java index f745fdee..7f4f26ef 100644 --- a/src/de/steamwar/bungeecore/commands/RankCommand.java +++ b/src/de/steamwar/bungeecore/commands/RankCommand.java @@ -27,7 +27,7 @@ public class RankCommand extends BasicCommand { if(!mode.isRanked()) continue; int elo = Elo.getElo(user.getId(), mode.getSchemType()); - int placement = Elo.getPlacement(user.getId(), mode.getSchemType()); + int placement = Elo.getPlacement(elo, mode.getSchemType()); if(placement == -1) BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §eunplatziert");