upstream keyboard bankpin, enforce dev mode

This commit is contained in:
therealunull
2020-12-16 14:12:20 -05:00
parent 39d0c2e15a
commit 665259b5e5
3 changed files with 16 additions and 8 deletions

View File

@@ -590,6 +590,19 @@ public abstract class RSClientMixin implements RSClient
return getWidget(groupId, childId);
}
@Inject
@Override
public Widget getWidget(int id)
{
for (WidgetInfo widgetInfo : WidgetInfo.values())
{
if (widgetInfo.getId() == id)
return getWidget(widgetInfo);
}
return null;
}
@Inject
@Override
public RSWidget[] getGroup(int groupId)
@@ -1968,11 +1981,5 @@ public abstract class RSClientMixin implements RSClient
{
return this.outdatedScripts;
}
@Override
public Widget getWidget(int i)
{
return getWidget(i, i);
}
}