From ea25a3ffd08c20fa2353d2cf44c02019d3aac317 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 29 Sep 2013 15:51:24 -0400 Subject: [PATCH] Fix null killing the server --- fml/common/cpw/mods/fml/common/launcher/FMLTweaker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)