diff --git a/src/de/steamwar/bungeecore/commands/EventCommand.java b/src/de/steamwar/bungeecore/commands/EventCommand.java index fc492819..6e2c66c0 100644 --- a/src/de/steamwar/bungeecore/commands/EventCommand.java +++ b/src/de/steamwar/bungeecore/commands/EventCommand.java @@ -81,7 +81,7 @@ public class EventCommand extends BasicCommand { if(now.isBefore(e.getDeadline().toInstant())) { Message.send("EVENT_COMING_DEADLINE", player, e.getDeadline()); } - String checkType = e.getCheckType(); + String checkType = e.getSchemType(); if (checkType != null) { SchematicType schematicType = SchematicType.fromDB(checkType); if (schematicType != null && schematicType.deadline() != null && now.isBefore(schematicType.deadline().toInstant())) { diff --git a/src/de/steamwar/bungeecore/sql/Event.java b/src/de/steamwar/bungeecore/sql/Event.java index 41a5b03c..ab4cedef 100644 --- a/src/de/steamwar/bungeecore/sql/Event.java +++ b/src/de/steamwar/bungeecore/sql/Event.java @@ -41,7 +41,7 @@ public class Event { private final boolean publicSchemsOnly; private final boolean spectateSystem; private final Timestamp deadline; - private final String checkType; + private final String schemType; private static Event current = null; @@ -54,7 +54,7 @@ public class Event { this.publicSchemsOnly = rs.getBoolean("PublicSchemsOnly"); this.spectateSystem = rs.getBoolean("SpectateSystem"); this.deadline = rs.getTimestamp("Deadline"); - this.checkType = rs.getString("CheckType"); + this.schemType = rs.getString("SchemType"); } public static Event get(){ @@ -125,7 +125,7 @@ public class Event { public Timestamp getDeadline() { return deadline; } - public String getCheckType() { - return checkType; + public String getSchemType() { + return schemType; } } diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 6f187dd2..7dfaa7cc 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -238,7 +238,7 @@ EVENT_NO_CURRENT=§cThere is no event taking place currently EVENT_COMING=§eUpcoming events§8: EVENT_COMING_EVENT=§7{0}§8-§7{1}§8: §e{2} EVENT_COMING_DEADLINE=§7 Registration deadline§8: §7{0} -EVENT_COMING_SCHEM_DEADLINE=§7 Schematic deadline§8: §7{0} +EVENT_COMING_SCHEM_DEADLINE=§7 Submission deadline§8: §7{0} EVENT_COMING_TEAMS=§7 With§8:{0} EVENT_COMING_TEAM= §{0}{1} EVENT_CURRENT_EVENT=§e§l{0}