SteamWar/BungeeCore
Archiviert
13
2

Fix SchemElo
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-03-13 09:13:29 +01:00
Ursprung 24b249acf7
Commit 2de1eee79c

Datei anzeigen

@ -24,7 +24,7 @@ import static de.steamwar.bungeecore.sql.UserElo.ELO_DEFAULT;
public class SchemElo { public class SchemElo {
private SchemElo() {} private SchemElo() {}
private static final Statement elo = new Statement("SELECT SchemElo FROM Elo WHERE SchemID = ? AND Season = ?"); private static final Statement elo = new Statement("SELECT Elo FROM SchemElo WHERE SchemID = ? AND Season = ?");
private static final Statement setElo = new Statement("UPDATE SchemElo SET Elo = ? WHERE Season = ? AND SchemID = ?"); private static final Statement setElo = new Statement("UPDATE SchemElo SET Elo = ? WHERE Season = ? AND SchemID = ?");
public static int getElo(int schemID) { public static int getElo(int schemID) {