diff --git a/java17/src/main/java/top/leavesmc/leavesclip/AutoUpdate.java b/java17/src/main/java/top/leavesmc/leavesclip/AutoUpdate.java index 28e3053..ed50cb8 100644 --- a/java17/src/main/java/top/leavesmc/leavesclip/AutoUpdate.java +++ b/java17/src/main/java/top/leavesmc/leavesclip/AutoUpdate.java @@ -1,4 +1,4 @@ -package top.leavesmc.leavesclip; +package org.netherite.netheriteclip; import java.io.*; import java.util.Arrays; @@ -44,7 +44,7 @@ public static void init() { return; } - System.out.println("Using server core: " + autoUpdateCorePath + " provide by Leavesclip-Auto-Update"); + System.out.println("Using server core: " + autoUpdateCorePath + " provide by Netheriteclip-Auto-Update"); } catch (IOException e) { e.printStackTrace(); } @@ -53,7 +53,7 @@ public static void init() { private static boolean detectionLeavesclipVersion(String jarPath) { byte[] localBytes; - try (InputStream localStream = AutoUpdate.class.getResourceAsStream("/META-INF/leavesclip-version")) { + try (InputStream localStream = AutoUpdate.class.getResourceAsStream("/META-INF/netheriteclip-version")) { if (localStream != null) { localBytes = localStream.readAllBytes(); } else { @@ -63,7 +63,7 @@ private static boolean detectionLeavesclipVersion(String jarPath) { throw new RuntimeException(e); } - try (InputStream externalStream = getResourceAsStream(jarPath, "/META-INF/leavesclip-version")) { + try (InputStream externalStream = getResourceAsStream(jarPath, "/META-INF/netheriteclip-version")) { if (externalStream != null) { return Arrays.equals(localBytes, externalStream.readAllBytes()); }