Better debugging in order to fix #1003
This commit is contained in:
		@@ -754,6 +754,9 @@ public class EngineMain extends EngineAbstract
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
	public String parseTerritoryInfo(String string, MPlayer mplayer, Faction faction)
 | 
						public String parseTerritoryInfo(String string, MPlayer mplayer, Faction faction)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							if (string == null) throw new NullPointerException("string");
 | 
				
			||||||
 | 
							if (faction == null) throw new NullPointerException("faction");
 | 
				
			||||||
 | 
							
 | 
				
			||||||
		string = Txt.parse(string);
 | 
							string = Txt.parse(string);
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		string = string.replace("{name}", faction.getName());
 | 
							string = string.replace("{name}", faction.getName());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user