SteamWar/SpigotCore
Archiviert
13
0

Fix EventFight insertion
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-03-04 22:19:05 +01:00
Ursprung 189a209755
Commit bedf79a4ad

Datei anzeigen

@ -121,7 +121,7 @@ public class SQLProvider implements Provider {
private static final Statement setEventFightFightID = new Statement("UPDATE EventFight SET Fight = ? WHERE FightID = ?"); private static final Statement setEventFightFightID = new Statement("UPDATE EventFight SET Fight = ? WHERE FightID = ?");
@Override @Override
public void setEventFightFightID(EventFight fight, int fightID) { public void setEventFightFightID(EventFight fight, int fightID) {
setEventFightFightID.update(fight, fight.getFightID()); setEventFightFightID.update(fightID, fight.getFightID());
} }
private static final Statement hasEventTeam = new Statement("SELECT * FROM TeamTeilnahme WHERE TeamID = ? AND EventID = ?"); private static final Statement hasEventTeam = new Statement("SELECT * FROM TeamTeilnahme WHERE TeamID = ? AND EventID = ?");