Commits

md_5 authored 911875d4f83
Increase outdated build delay
No tags

src/main/java/org/bukkit/craftbukkit/Main.java

Modified
178 178 }
179 179
180 180 if (options.has("noconsole")) {
181 181 useConsole = false;
182 182 }
183 183
184 184 if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
185 185 Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L);
186 186
187 187 Calendar deadline = Calendar.getInstance();
188 - deadline.add(Calendar.DAY_OF_YEAR, -14);
188 + deadline.add(Calendar.DAY_OF_YEAR, -28);
189 189 if (buildDate.before(deadline.getTime())) {
190 190 System.err.println("*** Error, this build is outdated ***");
191 191 System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***");
192 192 System.err.println("*** Server will start in 20 seconds ***");
193 193 Thread.sleep(TimeUnit.SECONDS.toMillis(20));
194 194 }
195 195 }
196 196
197 197 System.out.println("Loading libraries, please wait...");
198 198 net.minecraft.server.Main.main(options);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut