aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/DefenitlyNotAJoikedInstallerFrame.java
diff options
context:
space:
mode:
authorRabbitType99 <luis.be@gmx.de>2021-03-11 19:48:53 +0100
committerRabbitType99 <luis.be@gmx.de>2021-03-11 19:48:53 +0100
commited93b04124db9b8944ddd1ed33d0f4dabf4a486b (patch)
treeab22a6a7f8e6be4e1df8ba40ba0a8a2e5dc68d22 /src/main/java/DefenitlyNotAJoikedInstallerFrame.java
parent2c3838f8144959e3db3f60de8ce3c8d7ce799b9a (diff)
downloadSkyblockMod-ed93b04124db9b8944ddd1ed33d0f4dabf4a486b.tar.gz
SkyblockMod-ed93b04124db9b8944ddd1ed33d0f4dabf4a486b.tar.bz2
SkyblockMod-ed93b04124db9b8944ddd1ed33d0f4dabf4a486b.zip
Added Ghost Tracker/ Fixed Installer crashes due to renaming ModID
Diffstat (limited to 'src/main/java/DefenitlyNotAJoikedInstallerFrame.java')
-rw-r--r--src/main/java/DefenitlyNotAJoikedInstallerFrame.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/DefenitlyNotAJoikedInstallerFrame.java b/src/main/java/DefenitlyNotAJoikedInstallerFrame.java
index d52d65b..e4c9b64 100644
--- a/src/main/java/DefenitlyNotAJoikedInstallerFrame.java
+++ b/src/main/java/DefenitlyNotAJoikedInstallerFrame.java
@@ -155,7 +155,7 @@ public class DefenitlyNotAJoikedInstallerFrame extends JFrame implements ActionL
versionInfo.setFont(new Font(Font.DIALOG, Font.BOLD, 14));
versionInfo.setHorizontalAlignment(SwingConstants.CENTER);
versionInfo.setPreferredSize(new Dimension(w, h));
- versionInfo.setText("<html><body>Danker's SkyblockMod - Installer by Biscuit <br><center> for Minecraft 1.8.9</center></body></html>");
+ versionInfo.setText("<html><body>Danker's Skyblock Mod - Installer by Biscuit <br><center> for Minecraft 1.8.9</center></body></html>");
y += h-5;
} catch (Throwable ivjExc) {
@@ -175,7 +175,7 @@ public class DefenitlyNotAJoikedInstallerFrame extends JFrame implements ActionL
descriptionText = new JTextArea();
descriptionText.setName("TextArea");
setTextAreaProperties(descriptionText);
- descriptionText.setText("This installer will copy Danker's SkyblockMod into your forge mods folder for you, and replace any old versions that already exist. " +
+ descriptionText.setText("This installer will copy Danker's Skyblock Mod into your forge mods folder for you, and replace any old versions that already exist. " +
"Close this if you prefer to do this yourself!");
descriptionText.setWrapStyleWord(true);
@@ -479,7 +479,7 @@ public class DefenitlyNotAJoikedInstallerFrame extends JFrame implements ActionL
if (mcModInfo != null) {
InputStream inputStream = jarFile.getInputStream(mcModInfo);
String modID = getModIDFromInputStream(inputStream);
- if (modID.equals("dankersskyblockmod")) {
+ if (modID.equals("Danker's Skyblock Mod")) {
jarFile.close();
try {
boolean deleted = file.delete();
@@ -589,11 +589,11 @@ public class DefenitlyNotAJoikedInstallerFrame extends JFrame implements ActionL
}
public void showMessage(String message) {
- JOptionPane.showMessageDialog(null, message, "Danker's SkyblockMod", JOptionPane.INFORMATION_MESSAGE);
+ JOptionPane.showMessageDialog(null, message, "Danker's Skyblock Mod", JOptionPane.INFORMATION_MESSAGE);
}
public void showErrorMessage(String message) {
- JOptionPane.showMessageDialog(null, message, "Danker's SkyblockMod - Error", JOptionPane.ERROR_MESSAGE);
+ JOptionPane.showMessageDialog(null, message, "Danker's Skyblock Mod - Error", JOptionPane.ERROR_MESSAGE);
}
public enum OperatingSystem {