Crosshair improvements
This commit is contained in:
parent
a143a161ab
commit
e3392d808c
|
@ -327,9 +327,10 @@ public class GuiIngame extends Gui {
|
||||||
|
|
||||||
if (ModManager.crosshair.isEnabled()){
|
if (ModManager.crosshair.isEnabled()){
|
||||||
GlStateManager.disableAlpha();
|
GlStateManager.disableAlpha();
|
||||||
if(Minecraft.getMinecraft().pointedEntity != null)
|
if(Minecraft.getMinecraft().pointedEntity != null){
|
||||||
GlStateManager.color(RenderUtils.getColorWithoutRGB(Crosshair.color).getRed(), RenderUtils.getColorWithoutRGB(Crosshair.color).getGreen(), RenderUtils.getColorWithoutRGB(Crosshair.color).getBlue());
|
GlStateManager.color(RenderUtils.getColorWithoutRGB(Crosshair.color).getRed(), RenderUtils.getColorWithoutRGB(Crosshair.color).getGreen(), RenderUtils.getColorWithoutRGB(Crosshair.color).getBlue());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.drawTexturedModalRect(scaledResWidth / 2 - 7, scaledResHeight / 2 - 7, 0, 0, 16, 16);
|
this.drawTexturedModalRect(scaledResWidth / 2 - 7, scaledResHeight / 2 - 7, 0, 0, 16, 16);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user