Commits
md_5 authored a639ae44d24
170 170 | } else { |
171 171 | // This ensures the terminal literal will always match the jline implementation |
172 172 | System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName()); |
173 173 | } |
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 SimpleDateFormat("yyyyMMdd-HHmm").parse(Main.class.getPackage().getImplementationVendor()); |
182 182 | |
183 183 | Calendar deadline = Calendar.getInstance(); |
184 184 | deadline.add(Calendar.DAY_OF_YEAR, -10); |
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/ ***"); |
188 188 | System.err.println("*** Server will start in 20 seconds ***"); |
189 189 | Thread.sleep(TimeUnit.SECONDS.toMillis(20)); |
190 190 | } |