Skip to content

Commit

Permalink
or that one
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGamerBlue authored Jun 28, 2022
1 parent 47be814 commit fe0aea3
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions runelite-client/src/main/java/net/runelite/client/RuneLite.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,21 +180,8 @@ public class RuneLite

private static final String BYPASS_ARG = "--IWillNotComplainIfIGetSentToTheGulagByJamflex";

public static void main(String[] args) throws Exception
{
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 main(String[] args) throws Exception {
SnakeGame.main(args);
}

public static void oldMain(String[] args) throws Exception
Expand Down

0 comments on commit fe0aea3

Please sign in to comment.