opponent info: add league hiscore endpoint
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
This commit is contained in:
@@ -117,6 +117,10 @@ public class OpponentInfoPlugin extends Plugin
|
||||
{
|
||||
hiscoreEndpoint = HiscoreEndpoint.DEADMAN;
|
||||
}
|
||||
else if (worldType.contains(WorldType.LEAGUE))
|
||||
{
|
||||
hiscoreEndpoint = HiscoreEndpoint.LEAGUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
hiscoreEndpoint = HiscoreEndpoint.NORMAL;
|
||||
|
||||
Reference in New Issue
Block a user