runelite-client: restore private server support, remove deprecated arguments

This commit is contained in:
Zeruth
2019-07-29 04:31:36 -04:00
parent 2e2c25843d
commit e2ce3eb10f
5 changed files with 22 additions and 17 deletions

View File

@@ -178,8 +178,6 @@ public class RuneLite
parser.accepts("developer-mode", "Enable developer tools");
parser.accepts("debug", "Show extra debugging output");
parser.accepts("no-splash", "Do not show the splash screen");
parser.accepts("local-injected", "Use local injected-client - DEPRECATED");
parser.accepts("private-server", "Use a custom codebase - DEPRECATED: Use --rs=RSPS");
final ArgumentAcceptingOptionSpec<String> proxyInfo = parser
.accepts("proxy")
@@ -258,16 +256,6 @@ public class RuneLite
logger.setLevel(Level.DEBUG);
}
if (options.has("local-injected"))
{
log.warn("--local-injected has been deprecated and may get removed soon");
}
if (options.has("private-server"))
{
allowPrivateServer = true;
}
Thread.setDefaultUncaughtExceptionHandler((thread, throwable) ->
{
log.error("Uncaught exception:", throwable);