diff --git a/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java b/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java index e5aad72..916f460 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java @@ -121,7 +121,7 @@ public class SQLProvider implements Provider { private static final Statement setEventFightFightID = new Statement("UPDATE EventFight SET Fight = ? WHERE FightID = ?"); @Override 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 = ?");