Skip to content

Commit

Permalink
Update and rename Leavesclip.java to Netheriteclip.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Pan-cakse committed Sep 19, 2023
1 parent 7b7cf5e commit 681ff0f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public final class Leavesclip {

public static void main(final String[] args) {
if (Path.of("").toAbsolutePath().toString().contains("!")) {
System.err.println("Leavesclip may not run in a directory containing '!'. Please rename the affected folder.");
System.err.println("Netheriteclip may not run in a directory containing '!'. Please rename the affected folder.");
System.exit(1);
}

if (!Boolean.getBoolean("leavesclip.disable.auto-update")) {
if (!Boolean.getBoolean("netheriteclip.disable.auto-update")) {
AutoUpdate.init();
}

Expand Down Expand Up @@ -76,7 +76,7 @@ private static URL[] setupClasspath() {

// Exit if user has set `paperclip.patchonly` or `leavesclip.patchonly` system property to `true`
if (Boolean.getBoolean("paperclip.patchonly")
|| Boolean.getBoolean("leavesclip.patchonly")) {
|| Boolean.getBoolean("netheriteclip.patchonly")) {
System.exit(0);
}

Expand Down

0 comments on commit 681ff0f

Please sign in to comment.