Fix unplaced
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
758e10baff
Commit
7149602650
@ -27,7 +27,7 @@ public class RankCommand extends BasicCommand {
|
|||||||
if(!mode.isRanked())
|
if(!mode.isRanked())
|
||||||
continue;
|
continue;
|
||||||
int elo = Elo.getElo(user.getId(), mode.getSchemType());
|
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)
|
if(placement == -1)
|
||||||
BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §eunplatziert");
|
BungeeCore.send(player, "§7" + mode.getChatName() + "§8: §eunplatziert");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren