Merge pull request #2898 from open-osrs/upstream
project: upstream, fix git history, extract some of our api
This commit is contained in:
@@ -609,6 +609,16 @@ public abstract class RSClientMixin implements RSClient
|
||||
return getWidget(groupId, childId);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public Widget getWidget(com.openosrs.api.widgets.WidgetInfo widget)
|
||||
{
|
||||
int groupId = widget.getGroupId();
|
||||
int childId = widget.getChildId();
|
||||
|
||||
return getWidget(groupId, childId);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public Widget getWidget(int id)
|
||||
|
||||
Reference in New Issue
Block a user