From f48080a75551ba9a08d35cade3d59e291bedbc04 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 22 Jul 2018 17:33:11 +0200 Subject: [PATCH] Move GLWindow creation to onInitComplete() instead of init(). Now THERE'S yer problem --- .../com/voxelmodpack/hdskins/mod/LiteModHDSkinsMod.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/mod/LiteModHDSkinsMod.java b/src/hdskins/java/com/voxelmodpack/hdskins/mod/LiteModHDSkinsMod.java index 21986d22..b6c295aa 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/mod/LiteModHDSkinsMod.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/mod/LiteModHDSkinsMod.java @@ -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