Fixed gl error when load a skin from the server

This commit is contained in:
Sollace 2018-08-22 15:00:21 +02:00
parent 57688aab0d
commit 488523670f

View file

@ -224,7 +224,7 @@ public class SkinUploader implements Closeable {
} }
private void onSetRemoteSkin(Type type, ResourceLocation location, MinecraftProfileTexture profileTexture) { private void onSetRemoteSkin(Type type, ResourceLocation location, MinecraftProfileTexture profileTexture) {
if (fetchingSkin && remotePlayer.isTextureSetupComplete()) { if (fetchingSkin) {
fetchingSkin = false; fetchingSkin = false;
listener.onSetRemoteSkin(type, location, profileTexture); listener.onSetRemoteSkin(type, location, profileTexture);
} }