mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +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();
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue