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