Commits
md_5 authored 38b1f49d954
193 193 | AnsiConsole.systemInstall(); |
194 194 | } else { |
195 195 | // This ensures the terminal literal will always match the jline implementation |
196 196 | System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName()); |
197 197 | } |
198 198 | |
199 199 | if (options.has("noconsole")) { |
200 200 | useConsole = false; |
201 201 | } |
202 202 | |
203 - | if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { |
203 + | if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { |
204 204 | Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L); |
205 205 | |
206 206 | Calendar deadline = Calendar.getInstance(); |
207 207 | deadline.add(Calendar.DAY_OF_YEAR, -28); |
208 208 | if (buildDate.before(deadline.getTime())) { |
209 209 | System.err.println("*** Error, this build is outdated ***"); |
210 210 | System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***"); |
211 211 | System.err.println("*** Server will start in 20 seconds ***"); |
212 212 | Thread.sleep(TimeUnit.SECONDS.toMillis(20)); |
213 213 | } |