Skip to content

Commit d9b088f

Browse files
committed
Add empty check, & fix spelling mistake
1 parent 7706adc commit d9b088f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/pojlib/util/JREUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public static int launchJavaVM(final Activity activity, final List<String> JVMAr
216216

217217
//Add automatically generated args
218218
if (API.customRAMValue) {
219-
Logger.getInstance().appendToLog("etting JVM memory to " + API.memoryValue + "MB (Custom)");
219+
Logger.getInstance().appendToLog("Setting JVM memory to " + API.memoryValue + "MB (Custom)");
220220
userArgs.add("-Xms" + API.memoryValue + "M");
221221
userArgs.add("-Xmx" + API.memoryValue + "M");
222222
} else {
@@ -251,7 +251,7 @@ public static int launchJavaVM(final Activity activity, final List<String> JVMAr
251251
userArgs.addAll(JVMArgs);
252252
System.out.println(JVMArgs);
253253

254-
if (API.currentAcc != null) {
254+
if (API.currentAcc != null && !API.currentAcc.uuid.isEmpty()) {
255255
System.out.println("UUID: " + API.currentAcc.uuid);
256256
} else {
257257
System.out.println("UUID is null! Make sure to log in!");

0 commit comments

Comments
 (0)