Better debugging in order to fix #1003

This commit is contained in:
BuildTools 2016-01-24 15:41:43 +01:00 committed by Olof Larsson
parent 0937e12b21
commit 95b530ec44

View File

@ -754,6 +754,9 @@ public class EngineMain extends EngineAbstract
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 = string.replace("{name}", faction.getName());