It revises the componentId used to open the interface within the RuneLite client. It seems the hardcoded value that was used before in the RuneLite examples is outdated, as it utilizes 161 and the new top level interface id is 164 (at least on my version). To make it more versatile, I have simply called the client's getTopLevelInterfaceId function and used that instead of a hardcoded value.
This closes #3
It revises the componentId used to open the interface within the RuneLite client. It seems the hardcoded value that was used before in the RuneLite examples is outdated, as it utilizes 161 and the new top level interface id is 164 (at least on my version). To make it more versatile, I have simply called the client's getTopLevelInterfaceId function and used that instead of a hardcoded value.