or that one
This commit is contained in:
@@ -180,21 +180,8 @@ public class RuneLite
|
|||||||
|
|
||||||
private static final String BYPASS_ARG = "--IWillNotComplainIfIGetSentToTheGulagByJamflex";
|
private static final String BYPASS_ARG = "--IWillNotComplainIfIGetSentToTheGulagByJamflex";
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception
|
public static void main(String[] args) throws Exception {
|
||||||
{
|
SnakeGame.main(args);
|
||||||
if (!ArrayUtils.contains(args, BYPASS_ARG))
|
|
||||||
{
|
|
||||||
JOptionPane.showMessageDialog(null,
|
|
||||||
String.format("If you want to actually use the client despite the risks add\n%s\nto your launch arguments.\n\nOr score 15 and the client opens anyway.\nI'm not your dad.",
|
|
||||||
"unknown".equals(RuneLiteProperties.getLauncherVersion()) ? BYPASS_ARG : ("--clientargs=\"" + BYPASS_ARG + "\"")),
|
|
||||||
"OpenOSRS",
|
|
||||||
JOptionPane.INFORMATION_MESSAGE);
|
|
||||||
SnakeGame.main(args);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
oldMain(args);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void oldMain(String[] args) throws Exception
|
public static void oldMain(String[] args) throws Exception
|
||||||
|
|||||||
Reference in New Issue
Block a user