From fe0aea3505162a87049bd1359d85aa01618cc7a8 Mon Sep 17 00:00:00 2001 From: ThatGamerBlue Date: Tue, 28 Jun 2022 23:52:29 +0100 Subject: [PATCH] or that one --- .../main/java/net/runelite/client/RuneLite.java | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/RuneLite.java b/runelite-client/src/main/java/net/runelite/client/RuneLite.java index 4604f6582e..bc99670675 100644 --- a/runelite-client/src/main/java/net/runelite/client/RuneLite.java +++ b/runelite-client/src/main/java/net/runelite/client/RuneLite.java @@ -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