0.1h - Evade NPE on manual Factions removal in DB.
This commit is contained in:
		
				
					committed by
					
						
						Olof Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							08024bd4f9
						
					
				
				
					commit
					47d86bf28b
				
			@@ -76,6 +76,7 @@ public class CmdFactionsRelationWishes extends FactionsCommand
 | 
			
		||||
				{
 | 
			
		||||
					Rel rel = entry.getValue();
 | 
			
		||||
					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"
 | 
			
		||||
					if (fac.getRelationTo(faction).isAtLeast(rel)) continue;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user