Commits
md_5 authored 162bda93ff7
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, -5); |
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 | } |
191 191 | } |
192 192 | |
193 - | System.err.println("*** WARNING: This is a development build. It is not meant for production server usage! Please keep backups and update frequently."); |
193 + | System.err.println("*** WARNING: This build is obsolete. It contains severe bugs that may damage your world. All users are recommended to update to 1.13.1"); |
194 + | System.err.println("*** Please see https://www.spigotmc.org/ for more information about updating."); |
194 195 | |
195 196 | System.out.println("Loading libraries, please wait..."); |
196 197 | MinecraftServer.main(options); |
197 198 | } catch (Throwable t) { |
198 199 | t.printStackTrace(); |
199 200 | } |
200 201 | } |
201 202 | } |
202 203 | |
203 204 | private static List<String> asList(String... params) { |