You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If option 1 is used, the group on wom will match whatever is currently in the clan list
If option 2 is used, any users in the clan list not yet in the group are added to the group and any users in the clan list with a different rank/role have their rank/role updated on wom
However, the code for option 2 relies on the plugin having an up-to-date copy of the group as represented on wom; if this copy is not up-to-date or is missing (due to any kind of connectivity issue), option 2 becomes functionally identical to option 1.
The following code is responsible for this unexpected behaviour:
Fixeswise-old-man#59 by re-downloading all group members and waiting for `plugin.groupMembers` to be updated
before automatically re-running this function with the up-to-date information.
It works, but could use some love.
When everything goes correctly:
However, the code for option 2 relies on the plugin having an up-to-date copy of the group as represented on wom; if this copy is not up-to-date or is missing (due to any kind of connectivity issue), option 2 becomes functionally identical to option 1.
The following code is responsible for this unexpected behaviour:
wiseoldman-runelite-plugin/src/main/java/net/wiseoldman/ui/SyncButton.java
Lines 137 to 140 in ec4d95c
A simple workaround would be to check the size of groupMembers, if this is 0 then that can mean two things:
The text was updated successfully, but these errors were encountered: