From 25c7fdf05c59df4734268266fb0bc684d9c80542 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 24 Aug 2023 08:54:55 -0600 Subject: Fix decompiler-related issues to get the launcher to run --- src/net/minecraft/GameUpdater.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/minecraft/GameUpdater.java') diff --git a/src/net/minecraft/GameUpdater.java b/src/net/minecraft/GameUpdater.java index 1fb7f50..be2f532 100644 --- a/src/net/minecraft/GameUpdater.java +++ b/src/net/minecraft/GameUpdater.java @@ -174,7 +174,7 @@ public class GameUpdater implements Runnable { loadJarURLs(); String path = AccessController.doPrivileged(new PrivilegedExceptionAction() { - public Object run() throws Exception { + public String run() throws Exception { return Util.getWorkingDirectory() + File.separator + "bin" + File.separator; } }); @@ -681,7 +681,7 @@ public class GameUpdater implements Runnable { public boolean canPlayOffline() { try { String path = AccessController.doPrivileged(new PrivilegedExceptionAction() { - public Object run() throws Exception { + public String run() throws Exception { return Util.getWorkingDirectory() + File.separator + "bin" + File.separator; } }); -- cgit v1.2.3