Fix up relaunch of the applet

This commit is contained in:
Christian 2012-08-13 21:44:43 -04:00
parent 466022b402
commit 17bf8dc363
2 changed files with 2 additions and 1 deletions

View file

@ -32,8 +32,8 @@ public class LanguageRegistry
modLanguageData.put(lang, langPack);
}
langPack.put(key,value);
}
public static void reloadLanguageTable()
{
// reload language table by forcing lang to null and reloading the properties file

View file

@ -192,6 +192,7 @@ public class FMLRelauncher
private void relaunchApplet(Applet minecraftApplet)
{
showWindow(true);
appletClass = ReflectionHelper.getClass(classLoader, "net.minecraft.client.MinecraftApplet");
if (minecraftApplet.getClass().getClassLoader() == classLoader)
{