diff --git a/src/com/massivecraft/factions/engine/EngineMain.java b/src/com/massivecraft/factions/engine/EngineMain.java index 49c354d6..6ccf2ac2 100644 --- a/src/com/massivecraft/factions/engine/EngineMain.java +++ b/src/com/massivecraft/factions/engine/EngineMain.java @@ -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());