SteamWar/SpigotCore
Archiviert
13
0

Add ranked rework #181

Zusammengeführt
Lixfel hat 6 Commits von Ranked nach master 2022-03-10 12:07:07 +01:00 zusammengeführt
Nur Änderungen aus Commit d8b86b1263 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -78,12 +78,6 @@ public class SQLProvider implements Provider {
return new CheckedSchematic(rs.getInt("NodeId"), rs.getInt("Validator"), rs.getTimestamp("StartTime"), rs.getTimestamp("EndTime"), rs.getString("DeclineReason"));
}
public int getCurrentSeason() {
Calendar calendar = Calendar.getInstance();
int yearIndex = calendar.get(Calendar.MONTH) / 3;
return (calendar.get(Calendar.YEAR) * 3 + yearIndex);
}
private static final Statement getEvent = new Statement("SELECT * FROM Event WHERE EventID = ?");
@Override
public Event getEvent(int eventID) {