Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
Update Main.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Elier authored May 19, 2022
1 parent bd5dfe7 commit c23f5e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -22,11 +22,11 @@ public class Main {
public static boolean useConsole = true;

public static void main(String[] args) {
if(System.getProperty("ignoreDeprecated") != true) {
if(System.getProperty("ignoreDeprecated") != "true") {
System.err.println("NachoSpigot is no longer maintained or supported");
System.err.println("There are many unfixed bugs that will not be fixed");
System.err.println("It is recommended that you use a different 1.8 fork or use newer versions with backwards-compatibility plugins");
System.err.println("If you know what you're doing, you can continue using NachoSpigot by enabling the \"ignoreDeprecated\" JVM argument.");
System.err.println("If you know what you're doing, you can continue using NachoSpigot by setting the \"ignoreDeprecated\" JVM argument to \"true\"");
System.exit(1);
}
System.setProperty("log4j2.formatMsgNoLookups", "true");

0 comments on commit c23f5e2

Please sign in to comment.