Move GLWindow creation to onInitComplete() instead of init(). Now THERE'S yer problem

This commit is contained in:
Sollace 2018-07-22 17:33:11 +02:00
parent 10f44f9326
commit f48080a755

View file

@ -49,10 +49,6 @@ public class LiteModHDSkinsMod implements HDSkinsMod, AdvancedExposable {
IReloadableResourceManager irrm = (IReloadableResourceManager) Minecraft.getMinecraft().getResourceManager();
irrm.registerReloadListener(HDSkinManager.INSTANCE);
if (experimentalSkinDrop) {
GLWindow.create();
}
}
@Override
@ -81,6 +77,10 @@ public class LiteModHDSkinsMod implements HDSkinsMod, AdvancedExposable {
// register skin servers.
skin_servers.forEach(HDSkinManager.INSTANCE::addSkinServer);
if (experimentalSkinDrop) {
GLWindow.create();
}
}
@Override