diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java index 93fcbf53..17a0d5af 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java @@ -19,6 +19,8 @@ import com.mojang.authlib.minecraft.MinecraftProfileTexture.Type; import java.util.Set; +import org.lwjgl.opengl.GL11; + import static net.minecraft.client.renderer.GlStateManager.*; public class RenderPlayerModel extends RenderLivingBase { @@ -106,6 +108,8 @@ public class RenderPlayerModel extends RenderLiving double offset = entity.getYOffset() + entity.posY + 0.01; + GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS); + pushMatrix(); enableBlend(); color(1, 1, 1, 0.3F); @@ -123,5 +127,7 @@ public class RenderPlayerModel extends RenderLiving super.doRender(entity, x, y, z, entityYaw, partialTicks); popMatrix(); + + popAttrib(); } }