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; if (MUtil.equals(beforeId, afterId)) return;
// Resolve // Resolve
Faction before = Faction.get(beforeId); Faction before = FactionColl.get().get(beforeId, false);
Faction after = Faction.get(afterId); Faction after = FactionColl.get().get(afterId, false);
// Apply // Apply
if (before != null) before.mplayers.remove(this); if (before != null) before.mplayers.remove(this);