Commits
md_5 authored 2c1e49984ef
174 174 | AnsiConsole.systemInstall(); |
175 175 | } else { |
176 176 | // This ensures the terminal literal will always match the jline implementation |
177 177 | System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName()); |
178 178 | } |
179 179 | |
180 180 | if (options.has("noconsole")) { |
181 181 | useConsole = false; |
182 182 | } |
183 183 | |
184 - | if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { |
184 + | if (false && 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 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 | } |