Merge remote-tracking branch 'runelite/master'
This commit is contained in:
@@ -27,11 +27,9 @@ package net.runelite.client;
|
||||
import ch.qos.logback.classic.Level;
|
||||
import ch.qos.logback.classic.Logger;
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.common.base.Strings;
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Injector;
|
||||
import com.jagex.oldscape.pub.OAuthApi;
|
||||
import com.openosrs.client.OpenOSRS;
|
||||
import com.openosrs.client.game.PlayerManager;
|
||||
import com.openosrs.client.ui.OpenOSRSSplashScreen;
|
||||
@@ -374,11 +372,6 @@ public class RuneLite
|
||||
}
|
||||
|
||||
applet.start();
|
||||
|
||||
if (applet instanceof OAuthApi)
|
||||
{
|
||||
setupJxAuth((OAuthApi) applet);
|
||||
}
|
||||
}
|
||||
|
||||
SplashScreen.stage(.57, null, "Loading configuration");
|
||||
@@ -675,21 +668,4 @@ public class RuneLite
|
||||
System.setProperty(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
private void setupJxAuth(OAuthApi oAuthApi)
|
||||
{
|
||||
String accessToken = System.getenv("JX_ACCESS_TOKEN");
|
||||
if (Strings.isNullOrEmpty(accessToken))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
}
|
||||
catch (LinkageError ex)
|
||||
{
|
||||
log.error("error setting up OTL requester", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,12 @@ public class WidgetOverlay extends Overlay
|
||||
public static Collection<WidgetOverlay> createOverlays(final OverlayManager overlayManager, final Client client)
|
||||
{
|
||||
return Arrays.asList(
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_CHATBOX_PARENT, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_INVENTORY_PARENT, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_BOTTOM_LINE_CHATBOX_PARENT, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_BOTTOM_LINE_TABS1, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_BOTTOM_LINE_TABS2, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_VIEWPORT_BOTTOM_LINE_INVENTORY_PARENT, OverlayPosition.DETACHED),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_MINIMAP_WIDGET, OverlayPosition.CANVAS_TOP_RIGHT),
|
||||
new WidgetOverlay(client, WidgetInfo.RESIZABLE_MINIMAP_STONES_WIDGET, OverlayPosition.CANVAS_TOP_RIGHT),
|
||||
// The client forces the oxygen bar below the xp tracker, so set its priority lower
|
||||
|
||||
@@ -10650,6 +10650,18 @@
|
||||
26897,
|
||||
26898
|
||||
],
|
||||
"lost bag": [
|
||||
26912,
|
||||
26984,
|
||||
26986,
|
||||
26988
|
||||
],
|
||||
"amulet of the eye": [
|
||||
26914,
|
||||
26990,
|
||||
26992,
|
||||
26994
|
||||
],
|
||||
"vat": [
|
||||
26932,
|
||||
26933
|
||||
|
||||
Reference in New Issue
Block a user