Dodge board cleaner in index updater

This commit is contained in:
Olof Larsson 2016-08-13 18:59:23 +02:00
parent 3bd67f5029
commit 23821e71e8
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474

View File

@ -102,8 +102,8 @@ public class MPlayer extends SenderEntity<MPlayer> implements EconomyParticipato
if (MUtil.equals(beforeId, afterId)) return;
// Resolve
Faction before = Faction.get(beforeId);
Faction after = Faction.get(afterId);
Faction before = FactionColl.get().get(beforeId, false);
Faction after = FactionColl.get().get(afterId, false);
// Apply
if (before != null) before.mplayers.remove(this);