Fix renderGoalXZBeacon path rendering incorrect color
This commit is contained in:
parent
66356d5334
commit
70d216b29f
@ -295,6 +295,8 @@ public final class PathRenderer implements Helper {
|
|||||||
GoalXZ goalPos = (GoalXZ) goal;
|
GoalXZ goalPos = (GoalXZ) goal;
|
||||||
|
|
||||||
if (Baritone.settings().renderGoalXZBeacon.get()) {
|
if (Baritone.settings().renderGoalXZBeacon.get()) {
|
||||||
|
glPushAttrib(GL_LIGHTING_BIT);
|
||||||
|
|
||||||
mc.getTextureManager().bindTexture(TileEntityBeaconRenderer.TEXTURE_BEACON_BEAM);
|
mc.getTextureManager().bindTexture(TileEntityBeaconRenderer.TEXTURE_BEACON_BEAM);
|
||||||
|
|
||||||
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
|
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
|
||||||
@ -316,6 +318,8 @@ public final class PathRenderer implements Helper {
|
|||||||
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
|
if (Baritone.settings().renderGoalIgnoreDepth.get()) {
|
||||||
GlStateManager.enableDepth();
|
GlStateManager.enableDepth();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
glPopAttrib();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user