From d8b86b1263e16ff274c2727784074fb8b0456dfe Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 10 Mar 2022 12:01:10 +0100 Subject: [PATCH] Remove SQLProvider.getCurrentSeason --- SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java b/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java index c5de7a5..68839c5 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SQLProvider.java @@ -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) {