Run clan-load callbacks on the main thread
This prevents potential CMEs from occurring when a player transfers his/her clan to another server
This commit is contained in:
parent
c0ebae4175
commit
6428dfd723
@ -806,7 +806,7 @@ public class ClansDataAccessLayer
|
||||
public void run()
|
||||
{
|
||||
ClanToken clan = _repository.retrieveClan(clanName);
|
||||
callback.run(clan);
|
||||
runSync(() -> callback.run(clan));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user