geforkt von SteamWar/BungeeCore
Fix EloSchemHandler
Dieser Commit ist enthalten in:
Ursprung
9be6ec94dc
Commit
ec6cb89bdb
@ -58,8 +58,8 @@ public class EloSchemHandler extends PacketHandler {
|
||||
|
||||
int blueSchemElo = SchemElo.getCurrentElo(fightEndsPacket.getBlueSchem());
|
||||
int redSchemElo = SchemElo.getCurrentElo(fightEndsPacket.getRedSchem());
|
||||
calcSchemElo(fightEndsPacket.getBlueSchem(), blueSchemElo, fightEndsPacket.getRedSchem(), blueResult);
|
||||
calcSchemElo(fightEndsPacket.getRedSchem(), redSchemElo, fightEndsPacket.getBlueSchem(), 1 - blueResult);
|
||||
calcSchemElo(redSchemElo, blueSchemElo, fightEndsPacket.getRedSchem(), blueResult);
|
||||
calcSchemElo(blueSchemElo, redSchemElo, fightEndsPacket.getBlueSchem(), 1 - blueResult);
|
||||
}
|
||||
|
||||
private void calcSchemElo(int eloSchemOwn, int eloSchemEnemy, int schemId, double result) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren