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