mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Move GLWindow creation to onInitComplete() instead of init(). Now THERE'S yer problem
This commit is contained in:
parent
10f44f9326
commit
f48080a755
1 changed files with 4 additions and 4 deletions
|
@ -49,10 +49,6 @@ public class LiteModHDSkinsMod implements HDSkinsMod, AdvancedExposable {
|
||||||
|
|
||||||
IReloadableResourceManager irrm = (IReloadableResourceManager) Minecraft.getMinecraft().getResourceManager();
|
IReloadableResourceManager irrm = (IReloadableResourceManager) Minecraft.getMinecraft().getResourceManager();
|
||||||
irrm.registerReloadListener(HDSkinManager.INSTANCE);
|
irrm.registerReloadListener(HDSkinManager.INSTANCE);
|
||||||
|
|
||||||
if (experimentalSkinDrop) {
|
|
||||||
GLWindow.create();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -81,6 +77,10 @@ public class LiteModHDSkinsMod implements HDSkinsMod, AdvancedExposable {
|
||||||
|
|
||||||
// register skin servers.
|
// register skin servers.
|
||||||
skin_servers.forEach(HDSkinManager.INSTANCE::addSkinServer);
|
skin_servers.forEach(HDSkinManager.INSTANCE::addSkinServer);
|
||||||
|
|
||||||
|
if (experimentalSkinDrop) {
|
||||||
|
GLWindow.create();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue