Update RuneLite.java
This commit is contained in:
@@ -183,7 +183,7 @@ public class RuneLite
|
|||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean developerMode = options.has("developer-mode") && RuneLiteProperties.getLauncherVersion() == null;
|
final boolean developerMode = true;
|
||||||
|
|
||||||
if (developerMode)
|
if (developerMode)
|
||||||
{
|
{
|
||||||
@@ -191,7 +191,7 @@ public class RuneLite
|
|||||||
assert assertions = true;
|
assert assertions = true;
|
||||||
if (!assertions)
|
if (!assertions)
|
||||||
{
|
{
|
||||||
throw new RuntimeException("Developers should enable assertions; Add `-ea` to your JVM arguments`");
|
java.util.logging.Logger.getAnonymousLogger().warning("Developers should enable assertions; Add `-ea` to your JVM arguments`");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user