From 90ddef0fd64f70933e69287c19917692311fcb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Creal-xBrownieCodez=E2=80=9D?= Date: Tue, 13 Oct 2020 20:01:55 +0200 Subject: [PATCH] Changes to Remastered --- pom.xml | 8 +++----- src/main/java/me/grax/jbytemod/JByteMod.java | 8 ++++++-- src/main/java/me/grax/jbytemod/discord/Discord.java | 2 +- src/main/java/me/grax/jbytemod/ui/JAboutFrame.java | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 1b6c6b4..acc8d7a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 GraxCode - JByteMod - Reborn + JByteMod-Remastered + 2.0 jar UTF-8 @@ -14,8 +14,7 @@ 1.3.50 - - + org.apache.maven.plugins maven-jar-plugin @@ -101,7 +100,6 @@ - org.apache.maven.plugins maven-compiler-plugin diff --git a/src/main/java/me/grax/jbytemod/JByteMod.java b/src/main/java/me/grax/jbytemod/JByteMod.java index fdf9239..75f5832 100644 --- a/src/main/java/me/grax/jbytemod/JByteMod.java +++ b/src/main/java/me/grax/jbytemod/JByteMod.java @@ -41,16 +41,19 @@ import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; +import java.io.IOException; import java.lang.instrument.Instrumentation; import java.lang.reflect.Field; import java.nio.charset.Charset; import java.nio.file.Files; import java.util.HashMap; import java.util.LinkedHashMap; +import java.util.Properties; public class JByteMod extends JFrame { - - private static final String jbytemod = "JByteMod Reborn"; + private static final String version = "2.0"; + private static final String jbytemod = "JByteMod Remastered v" + version; + public static File workingDir = new File("."); public static String configPath = "jbytemod.cfg"; public static Logging LOGGER; @@ -484,4 +487,5 @@ public void treeSelection(ClassNode cn, MethodNode mn) { } }).start(); } + } diff --git a/src/main/java/me/grax/jbytemod/discord/Discord.java b/src/main/java/me/grax/jbytemod/discord/Discord.java index 6ca8694..992b266 100644 --- a/src/main/java/me/grax/jbytemod/discord/Discord.java +++ b/src/main/java/me/grax/jbytemod/discord/Discord.java @@ -11,7 +11,7 @@ public class Discord { public static void init() { discordRPC = DiscordRPC.INSTANCE; - String applicationId = "610647709694558231"; + String applicationId = "765649706877190195"; DiscordEventHandlers handlers = new DiscordEventHandlers(); handlers.ready = (user) -> JByteMod.LOGGER.log("Discord is now ready."); diff --git a/src/main/java/me/grax/jbytemod/ui/JAboutFrame.java b/src/main/java/me/grax/jbytemod/ui/JAboutFrame.java index e9a2e1c..e9c220a 100644 --- a/src/main/java/me/grax/jbytemod/ui/JAboutFrame.java +++ b/src/main/java/me/grax/jbytemod/ui/JAboutFrame.java @@ -36,7 +36,7 @@ public void actionPerformed(ActionEvent e) { JTextPane title = new JTextPane(); title.setContentType("text/html"); title.setText(TextUtils.toHtml(jbm.getTitle() - + "
Copyright \u00A9 2016-2018 noverify

Copyright \u00A9 2019 Panda

JByteMod by noverify, Reborn by Panda
https://github.com/GraxCode/JByteMod-Beta
Donate LTC: LhwXLVASzb6t4vHSssA9FQwq2X5gAg8EKX")); + + "
Copyright \u00A9 2016-2018 noverify

Copyright \u00A9 2019 Panda

Copyright \u00A9 2020 xBrownieCodez

JByteMod by noverify, Reborn by Panda, Remastered by xBrownieCodez
https://github.com/GraxCode/JByteMod-Beta
Donate LTC: LhwXLVASzb6t4vHSssA9FQwq2X5gAg8EKX")); UIDefaults defaults = new UIDefaults(); defaults.put("TextPane[Enabled].backgroundPainter", this.getBackground()); title.putClientProperty("Nimbus.Overrides", defaults);