0.1h - Evade NPE on manual Factions removal in DB.
This commit is contained in:
parent
08024bd4f9
commit
47d86bf28b
@ -76,6 +76,7 @@ public class CmdFactionsRelationWishes extends FactionsCommand
|
|||||||
{
|
{
|
||||||
Rel rel = entry.getValue();
|
Rel rel = entry.getValue();
|
||||||
Faction fac = FactionColl.get().getFixed(entry.getKey());
|
Faction fac = FactionColl.get().getFixed(entry.getKey());
|
||||||
|
if (fac == null) continue;
|
||||||
|
|
||||||
// A wish is not a wish anymore if both factions have atleast equal "wishes"
|
// A wish is not a wish anymore if both factions have atleast equal "wishes"
|
||||||
if (fac.getRelationTo(faction).isAtLeast(rel)) continue;
|
if (fac.getRelationTo(faction).isAtLeast(rel)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user