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:
cnr 2016-04-12 22:54:20 -05:00
parent c0ebae4175
commit 6428dfd723
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ public class ClansDataAccessLayer
public void run() public void run()
{ {
ClanToken clan = _repository.retrieveClan(clanName); ClanToken clan = _repository.retrieveClan(clanName);
callback.run(clan); runSync(() -> callback.run(clan));
} }
}); });
} }