Fix up relaunch of the applet
This commit is contained in:
parent
466022b402
commit
17bf8dc363
2 changed files with 2 additions and 1 deletions
|
@ -32,8 +32,8 @@ public class LanguageRegistry
|
||||||
modLanguageData.put(lang, langPack);
|
modLanguageData.put(lang, langPack);
|
||||||
}
|
}
|
||||||
langPack.put(key,value);
|
langPack.put(key,value);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void reloadLanguageTable()
|
public static void reloadLanguageTable()
|
||||||
{
|
{
|
||||||
// reload language table by forcing lang to null and reloading the properties file
|
// reload language table by forcing lang to null and reloading the properties file
|
||||||
|
|
|
@ -192,6 +192,7 @@ public class FMLRelauncher
|
||||||
|
|
||||||
private void relaunchApplet(Applet minecraftApplet)
|
private void relaunchApplet(Applet minecraftApplet)
|
||||||
{
|
{
|
||||||
|
showWindow(true);
|
||||||
appletClass = ReflectionHelper.getClass(classLoader, "net.minecraft.client.MinecraftApplet");
|
appletClass = ReflectionHelper.getClass(classLoader, "net.minecraft.client.MinecraftApplet");
|
||||||
if (minecraftApplet.getClass().getClassLoader() == classLoader)
|
if (minecraftApplet.getClass().getClassLoader() == classLoader)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue