add check for click to play screen in grounditems
This commit is contained in:
@@ -68,7 +68,7 @@ public class FPSOverlay extends Overlay
|
||||
FontMetrics fm = graphics.getFontMetrics();
|
||||
String str = String.valueOf(client.getFPS());
|
||||
|
||||
Widget xpOrb = client.getWidget(WidgetInfo.MINIMAP_XP_ORG);
|
||||
Widget xpOrb = client.getWidget(WidgetInfo.MINIMAP_XP_ORB);
|
||||
if (xpOrb == null)
|
||||
{
|
||||
return null;
|
||||
|
||||
@@ -96,6 +96,12 @@ public class GroundItemsOverlay extends Overlay
|
||||
return null;
|
||||
}
|
||||
|
||||
//if the player is logged in but viewing the click to play screen exit
|
||||
if (client.getWidget(WidgetInfo.LOGIN_CLICK_TO_PLAY_SCREEN) != null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
//Widget bank = client.getWidget(WidgetInfo.BANK_ITEM_CONTAINER);
|
||||
//if (bank != null && !bank.isHidden())
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user