aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/SkyHanniInstallerFrame.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-14 12:19:56 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-14 12:19:56 +0200
commit6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358 (patch)
tree7a976fb506b61d929e601d265871285432cb120d /src/main/java/SkyHanniInstallerFrame.java
parent587279de1d320acb3c4093de9384ef07786be553 (diff)
downloadskyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.tar.gz
skyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.tar.bz2
skyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.zip
Fixed typos in the word SkyBlock
Diffstat (limited to 'src/main/java/SkyHanniInstallerFrame.java')
-rw-r--r--src/main/java/SkyHanniInstallerFrame.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/SkyHanniInstallerFrame.java b/src/main/java/SkyHanniInstallerFrame.java
index 878d2a0d2..4863f8619 100644
--- a/src/main/java/SkyHanniInstallerFrame.java
+++ b/src/main/java/SkyHanniInstallerFrame.java
@@ -435,18 +435,18 @@ public class SkyHanniInstallerFrame extends JFrame implements ActionListener, Mo
boolean deletingFailure = false;
if (modsFolder.isDirectory()) { // Delete in this current folder.
- boolean failed = findSkyblockAddonsAndDelete(modsFolder.listFiles());
+ boolean failed = findSkyHanniAndDelete(modsFolder.listFiles());
if (failed) deletingFailure = true;
}
if (inSubFolder) { // We are in the 1.8.9 folder, delete in the parent folder as well.
if (modsFolder.getParentFile().isDirectory()) {
- boolean failed = findSkyblockAddonsAndDelete(modsFolder.getParentFile().listFiles());
+ boolean failed = findSkyHanniAndDelete(modsFolder.getParentFile().listFiles());
if (failed) deletingFailure = true;
}
} else { // We are in the main mods folder, but the 1.8.9 subfolder exists... delete in there too.
File subFolder = new File(modsFolder, "1.8.9");
if (subFolder.exists() && subFolder.isDirectory()) {
- boolean failed = findSkyblockAddonsAndDelete(subFolder.listFiles());
+ boolean failed = findSkyHanniAndDelete(subFolder.listFiles());
if (failed) deletingFailure = true;
}
}
@@ -471,7 +471,7 @@ public class SkyHanniInstallerFrame extends JFrame implements ActionListener, Mo
}
}
- private boolean findSkyblockAddonsAndDelete(File[] files) {
+ private boolean findSkyHanniAndDelete(File[] files) {
if (files == null) return false;
for (File file : files) {