Skip to content

Commit

Permalink
xp updater: add seasonal worlds to wom
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Jan 5, 2022
1 parent 1a88fcc commit 0abe846
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ private void updateTempleosrs(String username, EnumSet<WorldType> worldTypes)
private void updateWom(String username, EnumSet<WorldType> worldTypes)
{
if (config.wiseoldman()
&& !worldTypes.contains(WorldType.SEASONAL)
&& !worldTypes.contains(WorldType.DEADMAN)
&& !worldTypes.contains(WorldType.NOSAVE_MODE))
{
String host = worldTypes.contains(WorldType.SEASONAL) ? "seasonal.wiseoldman.net" : "wiseoldman.net";
HttpUrl url = new HttpUrl.Builder()
.scheme("https")
.host("wiseoldman.net")
.host(host)
.addPathSegment("api")
.addPathSegment("players")
.addPathSegment("track")
Expand Down

0 comments on commit 0abe846

Please sign in to comment.