Crosshair stuffs
This commit is contained in:
parent
fbce5b24ef
commit
b612d1b2ff
130150
javascript/classes.js
130150
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -174,7 +174,6 @@ public class GuiIngame extends Gui {
|
||||||
Entity target = mc.pointedEntity;
|
Entity target = mc.pointedEntity;
|
||||||
if(!ModManager.crosshair.isEnabled())
|
if(!ModManager.crosshair.isEnabled())
|
||||||
GlStateManager.tryBlendFuncSeparate(GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_COLOR, 1, 0);
|
GlStateManager.tryBlendFuncSeparate(GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_COLOR, 1, 0);
|
||||||
GlStateManager.enableAlpha();
|
|
||||||
|
|
||||||
if(target != null && ModManager.crosshair.isEnabled())
|
if(target != null && ModManager.crosshair.isEnabled())
|
||||||
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());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user