Commits
md_5 authored 296df566737
170 170 | AnsiConsole.systemInstall(); |
171 171 | } else { |
172 172 | // This ensures the terminal literal will always match the jline implementation |
173 173 | System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName()); |
174 174 | } |
175 175 | |
176 176 | if (options.has("noconsole")) { |
177 177 | useConsole = false; |
178 178 | } |
179 179 | |
180 - | if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { |
180 + | if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { |
181 181 | Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L); |
182 182 | |
183 183 | Calendar deadline = Calendar.getInstance(); |
184 184 | deadline.add(Calendar.DAY_OF_YEAR, -28); |
185 185 | if (buildDate.before(deadline.getTime())) { |
186 186 | System.err.println("*** Error, this build is outdated ***"); |
187 187 | System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***"); |
188 188 | System.err.println("*** Server will start in 20 seconds ***"); |
189 189 | Thread.sleep(TimeUnit.SECONDS.toMillis(20)); |
190 190 | } |