From 44e38c0329d461474d7d3e4c0e5a91d8d334a5fb Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 6 Jun 2018 19:51:56 +0200 Subject: [PATCH] Fixed GLContext is not defined. --- .../java/com/voxelmodpack/hdskins/gui/GuiSkins.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/GuiSkins.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/GuiSkins.java index 4ccb085b..22b08264 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/GuiSkins.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/GuiSkins.java @@ -244,14 +244,15 @@ public class GuiSkins extends GuiScreen implements FutureCallback { if (!(Minecraft.getMinecraft().currentScreen instanceof GuiSkins)) { if (fileDrop != null) { fileDrop.setVisible(false); } - GuiSkins.this.localPlayer.releaseTextures(); - GuiSkins.this.remotePlayer.releaseTextures(); - HDSkinManager.clearSkinCache(); } }); }