diff --git a/fml/common/cpw/mods/fml/common/launcher/FMLTweaker.java b/fml/common/cpw/mods/fml/common/launcher/FMLTweaker.java index 7e8ceddeb4..c86e21a971 100644 --- a/fml/common/cpw/mods/fml/common/launcher/FMLTweaker.java +++ b/fml/common/cpw/mods/fml/common/launcher/FMLTweaker.java @@ -89,7 +89,7 @@ public class FMLTweaker implements ITweaker { if (!this.launchArgs.containsKey("--version")) { - launchArgs.put("--version", profile); + launchArgs.put("--version", profile != null ? profile : "UnknownFMLProfile"); } if (!this.launchArgs.containsKey("--gameDir") && gameDir != null)