Merge pull request #2898 from open-osrs/upstream

project: upstream, fix git history, extract some of our api
This commit is contained in:
Tyler Bochard
2021-01-14 15:10:28 -05:00
committed by GitHub
98 changed files with 7456 additions and 1754 deletions

View File

@@ -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)