Merge pull request #593 from Lucwousin/sozdidntmeantofrownyface

Make bank pin work everywhere instead of nowhere
This commit is contained in:
Lucwousin
2019-06-14 02:16:22 +02:00
committed by GitHub

View File

@@ -252,8 +252,8 @@ public class RuneLitePlusPlugin extends Plugin
{
if (client.getWidget(WidgetID.BANK_PIN_GROUP_ID, 0) == null
|| !client.getWidget(WidgetInfo.BANK_PIN_TOP_LEFT_TEXT).getText().equals("Bank of Gielinor")
|| !client.getWidget(WidgetInfo.BANK_PIN_TOP_LEFT_TEXT).getText().equals("Grand Exchange")
|| !client.getWidget(WidgetInfo.BANK_PIN_TOP_LEFT_TEXT).getText().equals("Housing Security System"))
&& !client.getWidget(WidgetInfo.BANK_PIN_TOP_LEFT_TEXT).getText().equals("Grand Exchange")
&& !client.getWidget(WidgetInfo.BANK_PIN_TOP_LEFT_TEXT).getText().equals("Housing Security System"))
{
entered = 0;
enterIdx = 0;