Add keyboard bankpin support to poh and grand exchange
This commit is contained in:
@@ -251,7 +251,9 @@ public class RuneLitePlusPlugin extends Plugin
|
|||||||
private void handleKey(char c)
|
private void handleKey(char c)
|
||||||
{
|
{
|
||||||
if (client.getWidget(WidgetID.BANK_PIN_GROUP_ID, 0) == null
|
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("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"))
|
||||||
{
|
{
|
||||||
entered = 0;
|
entered = 0;
|
||||||
enterIdx = 0;
|
enterIdx = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user