From 6e7c05b4f0e0ac01e79272aa9814c7872883a00e Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 31 Dec 2019 15:51:11 +0100 Subject: [PATCH] Hotfix --- .../src/de/steamwar/sql/FightStatistic.java | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 SpigotCore_Main/src/de/steamwar/sql/FightStatistic.java diff --git a/SpigotCore_Main/src/de/steamwar/sql/FightStatistic.java b/SpigotCore_Main/src/de/steamwar/sql/FightStatistic.java deleted file mode 100644 index e218517..0000000 --- a/SpigotCore_Main/src/de/steamwar/sql/FightStatistic.java +++ /dev/null @@ -1,53 +0,0 @@ -package de.steamwar.sql; - -public class FightStatistic { - - private final int fightID; - private final int eventFightID; - private final String gamemode; - private final String arena; - private final int leaderBlue; - private final int schematicBlue; - private final int leaderRed; - private final int schematicRed; - private final int winner; // 0: even, 1: blue, 2: red - - public FightStatistic(int fightID, int eventFightID, String gamemode, String arena, int leaderBlue, int schematicBlue, int leaderRed, int schematicRed, int winner){ - this.fightID = fightID; - this.eventFightID = eventFightID; - this.gamemode = gamemode; - this.arena = arena; - this.leaderBlue = leaderBlue; - this.schematicBlue = schematicBlue; - this.leaderRed = leaderRed; - this.schematicRed = schematicRed; - this.winner = winner; - SQL.update("INSERT INTO FightStatistic (" + - "FightID, EventFightID, Gamemode, Arena, LeaderBlue, SchematicBlue, LeaderRed, SchematicRed, Winner" + - ") VALUES (" + - fightID + ", " + eventFightID + ", '" + gamemode + "', '" + arena + "', " + leaderBlue + ", " - ")"); - } - - public int getFightID() { - return fightID; - } - - public static class FightMember{ - private final int fightID; - private final int userID; - private final String kit; - private final int tntPlaced; //? - private final int kills; - private final boolean dead; - - public FightMember(int fightID, int userID, String kit, int tntPlaced, int kills, boolean dead) { - this.fightID = fightID; - this.userID = userID; - this.kit = kit; - this.tntPlaced = tntPlaced; - this.kills = kills; - this.dead = dead; - } - } -}